From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: Re: Unable to build guile Date: Thu, 06 Nov 2008 12:28:03 +0100 Message-ID: <87iqr1t7p8.fsf@gnu.org> References: <490CC562.9070501@aceweb.com> <87bpwx98f7.fsf@gnu.org> <490E7842.9040903@aceweb.com> <87d4hdmbw8.fsf@gnu.org> <490F78C1.9020703@aceweb.com> <87ljw01lm1.fsf@gnu.org> <490FB08F.7030903@aceweb.com> <87prlbwxth.fsf@gnu.org> <4910B219.9000301@aceweb.com> <87tzamy1ve.fsf@gnu.org> <49120D5C.8040903@aceweb.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225970925 29079 80.91.229.12 (6 Nov 2008 11:28:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2008 11:28:45 +0000 (UTC) Cc: Dwight To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Nov 06 12:29:39 2008 connect(): Connection refused 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 1Ky33L-00079b-3h for guile-bugs@m.gmane.org; Thu, 06 Nov 2008 12:29:31 +0100 Original-Received: from localhost ([127.0.0.1]:54438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky32D-00029U-Of for guile-bugs@m.gmane.org; Thu, 06 Nov 2008 06:28:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ky328-00028h-Gs for bug-guile@gnu.org; Thu, 06 Nov 2008 06:28:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ky326-00028V-RU for bug-guile@gnu.org; Thu, 06 Nov 2008 06:28:16 -0500 Original-Received: from [199.232.76.173] (port=59777 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky326-00028S-OH for bug-guile@gnu.org; Thu, 06 Nov 2008 06:28:14 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:45894 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ky326-0002GB-86 for bug-guile@gnu.org; Thu, 06 Nov 2008 06:28:14 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ky324-0000Ps-8w for bug-guile@gnu.org; Thu, 06 Nov 2008 11:28:12 +0000 Original-Received: from 193.50.110.60 ([193.50.110.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Nov 2008 11:28:12 +0000 Original-Received: from ludo by 193.50.110.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Nov 2008 11:28:12 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 79 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.60 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Brumaire an 217 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: i686-pc-linux-gnu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) Cancel-Lock: sha1:4ET8XshQWJflAICC1wiAXsGYcAA= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:4080 Archived-At: Hello, Dwight writes: > # grep -i pthread_attr_getstack config.h > /* Define to 1 if you have the `pthread_attr_getstack' function. */ > #define HAVE_PTHREAD_ATTR_GETSTACK 1 > /* #undef PTHREAD_ATTR_GETSTACK_WORKS */ > > # grep -i pthread_get_stackaddr config.h > /* Define to 1 if you have the `pthread_get_stackaddr_np' function. */ > /* #undef HAVE_PTHREAD_GET_STACKADDR_NP */ Can you try out the following GDB script: b main run -q -c 0 b get_thread_stack_base c b scm_get_stack_base c finish finish quit Save it to a file, say `the-script', `cd' to the top build directory and run: ./libtool --mode=execute gdb ./libguile/guile -x the-script Then you can post the GDB output here. The goal is to understand which part of the code is used to determine the stack base, and what it returns. > # grep -E "DINFINITY|DQNAN" * > float.h:#define DINFINITY _DBLINF > float.h: extern unsigned int DQNAN[2]; > float.h:#define DBL_QNAN (*((double *) (DQNAN))) > math.h:#define DINFINITY _DBLINF OK, they are truly declared as ints, which truly breaks strict aliasing rules. Then we should either compile that file with `-fno-strict-aliasing' or not use `-Werror'. >> Our code appears to be based on that of Octave >> (http://hg.savannah.gnu.org/hgweb/octave/file/ec969f3b8955/liboctave/lo-ieee.cc), >> which (erroneously) assumes that these variables are only used on OSF. > AIX is supposed to be compliant with the latest OSF specifications! > If you like you can check out the link below to get more information > about AIX compatability/compliance with UNIX standards. > > http://www-03.ibm.com/systems/p/os/aix/standards/index.html I am roughly assuming OSF == Tru64 (aka. OSF/1). I don't see "OSF" listed in the above page. According to http://en.wikipedia.org/wiki/Open_Software_Foundation, OSF is was merged with the Open Group. Anyway, do you have pointers to documentation or standards that describe `DQNAN' and `DINFINITY'? I don't see anything like this at opengroup.org. >>>net_db.c: In function 'scm_resolv_error': >>>net_db.c:112: warning: implicit declaration of function 'hstrerror' >> >> >> Can you also "rgrep hstrerror /usr/include"? > I did a grep on /usr/include and /usr/include/sys > > # grep hstrerror * > netdb.h:const char *hstrerror(); > netdb.h:const char * hstrerror(int); Is that under /usr/include or /usr/include/sys? Thank you! Ludo'.