From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dwight Newsgroups: gmane.lisp.guile.bugs Subject: Re: Unable to build guile Date: Tue, 04 Nov 2008 12:35:37 -0800 Message-ID: <4910B219.9000301@aceweb.com> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1225830327 6129 80.91.229.12 (4 Nov 2008 20:25:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 20:25:27 +0000 (UTC) Cc: bug-guile@gnu.org To: ludo@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Nov 04 21:26:29 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 1KxSTo-0001Xl-FV for guile-bugs@m.gmane.org; Tue, 04 Nov 2008 21:26:25 +0100 Original-Received: from localhost ([127.0.0.1]:35720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxSSf-0004Xu-Ok for guile-bugs@m.gmane.org; Tue, 04 Nov 2008 15:25:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxSSc-0004Xp-QD for bug-guile@gnu.org; Tue, 04 Nov 2008 15:25:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxSSa-0004Xb-7w for bug-guile@gnu.org; Tue, 04 Nov 2008 15:25:09 -0500 Original-Received: from [199.232.76.173] (port=45306 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxSSa-0004XW-4j for bug-guile@gnu.org; Tue, 04 Nov 2008 15:25:08 -0500 Original-Received: from mail.aceweb.net ([24.43.169.18]:4285 helo=EMail-01.mdeinc.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxSSU-0003em-Np; Tue, 04 Nov 2008 15:25:03 -0500 Original-Received: from [216.99.240.135] (unverified [216.99.240.135]) by EMail-01.mdeinc.com (Vircom SMTPRS 4.5.654.13) with ESMTP id ; Tue, 4 Nov 2008 12:24:40 -0800 X-Modus-BlackList: 216.99.240.135=OK;dcrs6000@aceweb.com=OK X-Modus-RBL: 216.99.240.135=Excluded X-Modus-Trusted: 216.99.240.135=NO X-Modus-Audit: FALSE;0;0;22342145018507132 User-Agent: Mozilla/5.0 (X11; U; AIX 5.2; en-US; rv:1.7.13.1) Gecko/20070301 X-Accept-Language: en-us, en In-Reply-To: <87prlbwxth.fsf@gnu.org> X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:4075 Archived-At: Hi Ludovic Courtès, > Note that `-Wall' itself is harmless, it's `-Werror' that causes the > compilation to stop. You can just as well use: > > ... ./configure --disable--error-on-warning > > which removes `-Werror'. OK! Thanks for the tip! > The `guile-snarf-docs' scripts uses Guile, so it's an indication that > the newly built Guile doesn't work. :-) > > Can you try running "./pre-inst-guile" from the Guile build directory? # ./pre-inst-guile 2>&1 | tee /tmp/ToMail ksh: 28668 Segmentation fault(coredump) LABEL: CORE_DUMP Date/Time: Tue Nov 4 11:09:47 PST Type: PERM Resource Name: SYSPROC Description SOFTWARE PROGRAM ABNORMALLY TERMINATED Detail Data SIGNAL NUMBER 11 USER'S PROCESS ID: 28668 FILE SYSTEM SERIAL NUMBER 5 INODE NUMBER 24576 PROCESSOR ID 1 CORE FILE NAME /tmp/VIM/guile-1.8.5/core PROGRAM NAME lt-guile ADDITIONAL INFORMATION pthread_m 4C pthread_m 44 scm_threa 28 scm_i_ini 4C scm_i_wit 100 scm_boot_ 34 main 3C __start 8C > Also, can you provide a backtrace for the segfault? Assuming GDB is > available on your platform, something like the following should work: > > $ cd /the/guile/build/dir > $ gdb libguile/.libs/lt-guile core > (gdb) bt full # ./pre-inst-guile Segmentation fault(coredump) # gdb libguile/.libs/lt-guile core GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-ibm-aix5.2.0.0"... ptrace ldinfo: The process does not exist.. (gdb) bt full #0 0xd004a864 in pthread_mutexattr_init () from /usr/lib/libpthreads.a(shr_xpg5.o) No symbol table info available. #1 0xd6dd0bac in scm_threads_prehistory (base=0x2ff21e48) at threads.c:1656 No locals. #2 0xd6e38b40 in scm_i_init_guile (base=0x0) at init.c:421 No locals. #3 0xd6dd2fa4 in scm_i_with_guile_and_parent (func=@0xf0bd8764: 0x100a6834, data=0x2ff21ea8, parent=0xd6e37cfc) at threads.c:561 res = (void *) 0xf0bd8764 base_item = 3846 #4 0xd6e38908 in scm_boot_guile (argc=536910536, argv=0x1, main_func=@0x20009af0: 0, closure=0x8180) at init.c:350 c = {main_func = @0x200018b0: 0x10000458 , closure = 0x0, argc = 1, argv = 0x2ff21f5c} #5 0x10000414 in main (argc=1, argv=0x2ff21f5c) at guile.c:74 No locals. (gdb) Quit > It would also be interesting to see the warnings issued by GCC -Wall. numbers.c: In function 'guile_ieee_init': numbers.c:622: warning: dereferencing type-punned pointer will break strict-aliasing rules numbers.c:645: warning: dereferencing type-punned pointer will break strict-aliasing rules make[3]: *** [libguile_la-numbers.lo] Error 1 cc1: warnings being treated as errors net_db.c: In function 'scm_resolv_error': net_db.c:112: warning: implicit declaration of function 'hstrerror' make[3]: *** [net_db.lo] Error 1 Hope this information help. Bye, Dwight