From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Neil Jerram" Newsgroups: gmane.lisp.guile.bugs Subject: Re: [bug #24554] Pthreads and Stack overflow in guile (reopen bug 20814?) (guile 1.8.5) Date: Tue, 14 Oct 2008 22:48:14 +0100 Message-ID: <49dd78620810141448k447cc858v90b89f72a1056ceb@mail.gmail.com> References: <2635792.1059581224003044911.JavaMail.root@cdptpa-web28-z01> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224020929 5486 80.91.229.12 (14 Oct 2008 21:48:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 21:48:49 +0000 (UTC) Cc: bug-guile@gnu.org, Kannan Vijayan , Kannan Vijayan To: dsmich@roadrunner.com Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Oct 14 23:49:48 2008 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kprlq-00059w-EF for guile-bugs@m.gmane.org; Tue, 14 Oct 2008 23:49:39 +0200 Original-Received: from localhost ([127.0.0.1]:55881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kprkh-0008AC-9e for guile-bugs@m.gmane.org; Tue, 14 Oct 2008 17:48:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kprkc-000890-NG for bug-guile@gnu.org; Tue, 14 Oct 2008 17:48:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kprka-00087n-Ge for bug-guile@gnu.org; Tue, 14 Oct 2008 17:48:21 -0400 Original-Received: from [199.232.76.173] (port=45505 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kprka-00087k-Bc for bug-guile@gnu.org; Tue, 14 Oct 2008 17:48:20 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.240]:24477) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KprkZ-0004yb-Fo for bug-guile@gnu.org; Tue, 14 Oct 2008 17:48:20 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so2701274rvb.6 for ; Tue, 14 Oct 2008 14:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=37r5BLjG3D5BkuqLGbpuQulftjlBB7HtXdDy9a5vxqs=; b=QHhsQDywoXwEVRTrag5CliMfdFc03tkVbBroeS4o9uYO3HAcY/J3zmf2g5ocHLhW2U WZ4cNr2XtivoaKzTRjau3R6Kv1YKeqvTeF4YEEw55MWOp0J9D6N723JlaBx7EeOCOzF5 SoDextDFxn1jodf6SrkIkOHMePyh2GfwHDjPg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UwEfrHQO77lk1edvXUdzJzzDdn5QQhQPil/j+PLBQAps7QdDXUq22Af2FS0CL85XFt /iq5HUSgDU37x5ldAHsxFk10P2m+PRuZOXRaA/hJerWOwEkc4liujWK9Mg++lMoH5MnM rO9EpJ11QVtl4lV+ug7M+glL+ZqyWS9as7zeE= Original-Received: by 10.140.166.21 with SMTP id o21mr40798rve.167.1224020894163; Tue, 14 Oct 2008 14:48:14 -0700 (PDT) Original-Received: by 10.141.177.4 with HTTP; Tue, 14 Oct 2008 14:48:14 -0700 (PDT) In-Reply-To: <2635792.1059581224003044911.JavaMail.root@cdptpa-web28-z01> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4051 Archived-At: 2008/10/14 : > > I would imagine that --with-threads will not be turned back on until a 1.10.x (or 2.0.0 ?) release of Guile. > > My limited understanding of the situation (possibly incorrect): Using --without-threads changes the sizes of some data structures (I'm guessing they are smaller, with some pthreads stuff #ifdef'ed out), so that code compiled for one way will segfault when linked with code compiled for the other way. > > As far as just releasing new packages --with-threads, It's just not possible to go back an recompile all the currently existing packages on already existing systems. Really? Isn't that what happens normally in "transitions"? There are only 28 packages depending (directly) on guile-1.8-libs. Or is the issue about non-Debian applications that people have built themselves? Does Debian policy require a package's ABI always to stay back-compatible? (Another option would be creating new packages with --with-threads support. The current guile 1.8 packages are named guile-1.8 and guile-1.8-libs, and it must be the case that everything currently in Debian that depends on these does _not_ require support for multiple threads. It should be possible to create packages with new names, e.g. guile-1.8-mt and guile-1.8-mt-libs, that were built --with-threads, and these would initially have no packages depending on them. The problem with that, though, is that the existing and -mt packages could not coexist, so a Debian user would have to choose between the existing packages (+ the option of everything that depends on them) and the -mt packages.) Regards, Neil