From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Neil Jerram" Newsgroups: gmane.lisp.guile.devel Subject: Re: Bug#481378: Guile-1.8 FTBFS on mips (and other architectures) Date: Sat, 12 Jul 2008 19:51:05 +0100 Message-ID: <49dd78620807121151s2d499806u5e049780166d3f86@mail.gmail.com> References: <20080515163940.GA23926@networkno.de> <49dd78620805241400s2edb4ab9p173831bc3f4ca82@mail.gmail.com> <20080524214349.GA27042@networkno.de> <49dd78620805261046t55478b23l8d0d8a45582dd1af@mail.gmail.com> <20080528144529.GA4469@networkno.de> <49dd78620805281502t3e63b3e9u203371d7a4f79250@mail.gmail.com> <20080529022908.GA20547@networkno.de> <49dd78620805310905q24647eft9e46f41b0619e8ee@mail.gmail.com> 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 1215888691 25093 80.91.229.12 (12 Jul 2008 18:51:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jul 2008 18:51:31 +0000 (UTC) Cc: 481378@bugs.debian.org, guile-devel To: "Thiemo Seufer" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jul 12 20:52:19 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KHkCg-0006Ac-1Y for guile-devel@m.gmane.org; Sat, 12 Jul 2008 20:52:18 +0200 Original-Received: from localhost ([127.0.0.1]:54620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHkBn-0001kj-Ux for guile-devel@m.gmane.org; Sat, 12 Jul 2008 14:51:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHkBg-0001ix-RB for guile-devel@gnu.org; Sat, 12 Jul 2008 14:51:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHkBe-0001h4-Vy for guile-devel@gnu.org; Sat, 12 Jul 2008 14:51:16 -0400 Original-Received: from [199.232.76.173] (port=54360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHkBe-0001gv-RD for guile-devel@gnu.org; Sat, 12 Jul 2008 14:51:14 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.180]:43164) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KHkBe-0000aa-6M for guile-devel@gnu.org; Sat, 12 Jul 2008 14:51:14 -0400 Original-Received: by wa-out-1112.google.com with SMTP id m34so2606113wag.10 for ; Sat, 12 Jul 2008 11:51:13 -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=XorG3Q9j8uNOra5sK+9dgd7m7x1p2XeHzZmGCUtrblQ=; b=qGdNRB0IvFGu+jBC485SPyWq8QYGfzUpTQgD7odxqL2iQgQqU/u920JUqXHLxRYMeL Cb1twvoUoZ69JsXth0bIzCgUpBN/suwkOE0CeCR9KpHmT12dzOz2r+lq3p3FehLBvW0/ YcAHLHgufUr6G94mp6umUQlsKKpmKnGOLYTAc= 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=KxGcdhBMZ+yBkGzSwNGKVJTXUi6Dvfv3XkM4YZIiHTnn9nDAox5ITAnGAGF89l4gOR axogfiYHjSaBjkPygIkz/l1EaD8GnQ7lJObc+Y4geRUYVx4Gc0iiAzcQwFZ/va4oTpfH ygkfnZxA4ThH6GU1yTPBkoDMRhn9ELzqnOqRM= Original-Received: by 10.114.66.8 with SMTP id o8mr15756463waa.169.1215888665263; Sat, 12 Jul 2008 11:51:05 -0700 (PDT) Original-Received: by 10.114.197.8 with HTTP; Sat, 12 Jul 2008 11:51:05 -0700 (PDT) In-Reply-To: <49dd78620805310905q24647eft9e46f41b0619e8ee@mail.gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:7371 Archived-At: 2008/5/31 Neil Jerram : > 2008/5/29 Thiemo Seufer : >> Neil Jerram wrote: >>> 2008/5/28 Thiemo Seufer : >>> > >>> > After a closer look I believe the logic of the test is just plain wrong: >>> > >>> > aux (l) unsigned long l; >>> > { int x; exit (l >= ((unsigned long)&x)); } >>> > main () { int q; aux((unsigned long)&q); }, >>> > >>> > The test returns true for a downward-growing stack, but that sets >>> > SCM_I_GSC_STACK_GROWS_UP=1 ! Another possibility (which came from talking to Stepan Kasal) is that the code is failing because aux is being inlined. To avoid this, we can use instead the find_stack_direction code from Autoconf and Gnulib, in which find_stack_direction calls itself recursively. Therefore I've now committed 2 changes upstream which I hope will fix the current Debian build failures: http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=4ff3575c77f95ed5c86970fa93629ba3cfab1912 http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=9143131b2766d1e29e05d61b5021395b4c93a6bc If someone from Debian could try these out on all the architectures, that would be great. Neil