[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile failure on IRIX 6.5
From: |
Daichi Kawahata |
Subject: |
Compile failure on IRIX 6.5 |
Date: |
Mon, 21 Feb 2005 02:59:12 +0900 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compile failure on IRIX 6.5,
Daichi Kawahata <=