From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daichi Kawahata Newsgroups: gmane.emacs.bugs Subject: Compile failure on IRIX 6.5 Date: Mon, 21 Feb 2005 02:59:12 +0900 Message-ID: <20050221025912.08f3701a.daichi.k@dance.ocn.ne.jp> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108923401 29417 80.91.229.2 (20 Feb 2005 18:16:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Feb 2005 18:16:41 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 20 19:16:41 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D2vcz-000125-Ph for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Feb 2005 19:16:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D2vtm-0000QH-O6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Feb 2005 13:33:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D2vjj-0004K4-Od for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2005 13:23:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D2vjS-0004B4-Qe for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2005 13:23:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D2vjM-00045D-7Z for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2005 13:22:56 -0500 Original-Received: from [61.207.12.149] (helo=smtp.dance.ocn.ne.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D2vP6-0000n5-JN for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2005 13:02:01 -0500 Original-Received: from moose.iris.net (p6212-ipad506marunouchi.tokyo.ocn.ne.jp [222.148.77.212]) by smtp.dance.ocn.ne.jp (Postfix) with SMTP id ECFAE28CE; Mon, 21 Feb 2005 03:01:57 +0900 (JST) Original-To: bug-gnu-emacs@gnu.org X-Mailer: Sylpheed version 1.9.2 (GTK+ 2.6.2; mips-sgi-irix6.5) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geb-bug-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.bugs:10770 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10770 Hi, I've been having troubles since before at compile-time of Emacs. IRIX 6.5.22m, Emacs CVS-HEAD, GCC 3.4.3 $ ./configure --with-gtk --without-xim (snip) Configured for `mips-sgi-irix6.5'. Where should the build process find the source code? /opt/src/i18n/emacs What operating system and machine description files should Emacs use? `s/irix6-5.h' and `m/iris4d.h' What compiler should emacs be built with? ccache gcc -O2 -g -W -Wall -Wformat=2 Should Emacs use the GNU version of malloc? yes Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? yes What window system should Emacs use? x11 What toolkit should Emacs use? GTK Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use -lungif? yes Does Emacs use -lpng? yes Does Emacs use X toolkit scroll bars? yes (snip) $ gmake bootstrap (snip) Fatal error (11)gmake[1]: *** [autoloads] Segmentation fault (core dumped) gmake[1]: Leaving directory `/opt/src/i18n/emacs/lisp' gmake: *** [bootstrap-build] Error 2 Here is the backtrace of bootstrap-emacs with core generated by hand: $ gdb ./bootstrap-emacs core (snip) #0 0x0fa61648 in _kill () at /xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/signal/kill.s:15 15 /xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/signal/kill.s: No such file or directory. in /xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/signal/kill.s Current language: auto; currently asm DISPLAY = :0.0 TERM = kterm Breakpoint 1 at 0x10108ab4 Breakpoint 2 at 0x100dd850 (gdb) bt full #0 0x0fa61648 in _kill () at /xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/signal/kill.s:15 No locals. #1 0x1010972c in fatal_error_signal () No symbol table info available. #2 0x0c070260 in _SGIPT_libc_sigaction () from /usr/lib32/libpthread.so No locals. (gdb) l 15 /xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/signal/kill.s: No such file or directory. in /xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/signal/kill.s Backtrace with dbx: $ dbx ./bootstrap-emacs dbx version 7.3.1 68542_Oct26 MR Oct 26 2000 17:50:34 Core from signal SIGSEGV: Segmentation violation (dbx) where > 0 _kill(0xa25f, 0xb, 0xffffffff, 0x0, 0x1, 0x4865058, 0x2, 0x0) ["/xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/signal/kill.s":15, 0xfa61648] 1 fatal_error_signal(sig = 11) ["/opt/src/i18n/emacs/src/emacs.c":422, 0x10109724] 2 fatal_error_signal(sig = 11) ["/opt/src/i18n/emacs/src/emacs.c":422, 0x10109724] 3 fatal_error_signal(sig = 11) ["/opt/src/i18n/emacs/src/emacs.c":422, 0x10109724] [...] 97 fatal_error_signal(sig = 11) ["/opt/src/i18n/emacs/src/emacs.c":422, 0x10109724] 98 fatal_error_signal(sig = 11) ["/opt/src/i18n/emacs/src/emacs.c":422, 0x10109724] 99 fatal_error_signal(sig = 11) ["/opt/src/i18n/emacs/src/emacs.c":422, 0x10109724] (dbx) list Source (of /xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/signal/kill.s) not available for Process -1 Also, run-time debugging log with dbx (gdb won't work), manually newlined: $ dbx ./bootstrap-emacs (snip) (dbx) run -q Process 41625 (bootstrap-emacs) started Process 41625: region 3 identical to prev ignored Process 41625: region 5 identical to prev ignored Process 41625: region 7 identical to prev ignored Process 41625: region 9 identical to prev ignored Process 41625: region 11 identical to prev ignored Process 41625: region 13 identical to prev ignored Process 41625: region 15 identical to prev ignored Process 41625: region 17 identical to prev ignored Process 41625: region 19 identical to prev ignored Process 41625: region 21 identical to prev ignored Process 41625: region 23 identical to prev ignored Process 41625: region 25 identical to prev ignored Process 41625: region 27 identical to prev ignored Process 41625: region 29 identical to prev ignored Process 41625: region 31 identical to prev ignored Process 41625: region 33 identical to prev ignored Process 41625: region 35 identical to prev ignored Process 41625: region 37 identical to prev ignored Process 41625: region 39 identical to prev ignored Process 41625: region 41 identical to prev ignored Process 41625: region 43 identical to prev ignored Process 41625: region 45 identical to prev ignored Process 41625: region 47 identical to prev ignored Process 41625: region 49 identical to prev ignored Process 41625: region 51 identical to prev ignored Process 41625: region 53 identical to prev ignored Process 41625: region 55 identical to prev ignored Process 41625: region 57 identical to prev ignored Process 41625: region 59 identical to prev ignored Process 41625: region 61 identical to prev ignored Process 41625: region 63 identical to prev ignored Process 41625: region 65 identical to prev ignored Process 41625: region 65 identical to prev ignored Process 41625: region 65 identical to prev ignored Process 41625 (bootstrap-emacs) stopped on signal SIGSEGV: Segmentation violation (handler sig_fixup_mask) at [print_object:1485 +0x8,0x101a622c] 1485 float_to_string (pigbuf, XFLOAT_DATA (obj)); (dbx) where Thread 0x10000 > 0 print_object(obj = 65534, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1485, 0x101a622c] 1 print_object(obj = 271797372, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 2 print_object(obj = -1, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 3 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 4 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 5 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 6 print_object(obj = 1919513390, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 7 print_object(obj = 1026568507, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 8 print_object(obj = 858995242, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 9 print_object(obj = 1818570596, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 10 print_object(obj = 762146671, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 11 print_object(obj = 1633905775, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 12 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 13 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 14 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] (snip) 97 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 98 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] 99 print_object(obj = 0, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1971, 0x101a64fc] (dbx) list >*1485 float_to_string (pigbuf, XFLOAT_DATA (obj)); 1486 strout (pigbuf, -1, -1, printcharfun, 0); 1487 } 1488 break; 1489 1490 case Lisp_String: 1491 if (!escapeflag) 1492 print_string (obj, printcharfun); 1493 else 1494 { (dbx) dump print_object(obj = 65534, printcharfun = 272150529, escapeflag = 1) ["/opt/src/i18n/emacs/src/print.c":1485, 0x101a622c] buf = 0x7ffd6fd0 = "" It might still lack some info, please tell me what should I do if so. Thanks in advance. -- Daichi