On Sun, Mar 06, 2005 at 01:42:27AM +0100, Alfred M. Szmidt wrote:
> Always tell us what function the EIP really is.
Probably not that helpful...
#v+
$ addr2line -fe gnumach 0x11a07e
Debugger
./kern/debug.c:102
#v-
#v+
cat -n kern/debug.c | grep -C 10 ^\ \ \ 102
92 asm("ta 0x81");
93 #endif /* sun4 */
94
95 #if defined(mips ) || defined(luna88k) || defined(i860) ||
defined(alpha)
96 gimmeabreak();
97 #endif
98
99 #ifdef i386
100 asm("int3");
101 #endif
102 }
103
104 /* Be prepared to panic anytime,
105 even before panic_init() gets called from the "normal" place in
kern/startup.c.
106 (panic_init() still needs to be called from there
107 to make sure we get initialized before starting multiple
processors.) */
108 boolean_t panic_lock_initialized = FALSE;
109 decl_simple_lock_data(, panic_lock)
110
111 const char *panicstr;
112 int paniccpu;
#v-
> You haven't told use what arguments for glibc you used to compile it.
rm {nptl,linuxthreads}/configure
CFLAGS='-O2 -g -pipe --march=athlon-xp'
ASFLAGS=$CFLAGS
configure --prefix=[...] --with-headers=[...] --without-gd --without-cvs \
--disable-profile --enable-add-ons --without-tls
I can't build glibc without optimizations or just '-O'.
#v+
[...]/config.h:3:3: #error "glibc cannot be compiled without optimization"
#v-
#v+
make -C sunrpc others
make[2]: Entering directory `[...]/sunrpc'
CPP='gcc -E -x c-header' [...]/elf/ld.so.1 --library-path [...]
[...]/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o
[...]/sunrpc/xbootparam_prot.T
make[2]: *** [[...]/sunrpc/xbootparam_prot.stmp] Segmentation fault
make[2]: Leaving directory `[...]/sunrpc'
make[1]: *** [sunrpc/others] Error 2
#v-
(That's the same place where GNU Mach crashes when building glibc
without '--without-tls'.)
Regards,
Thomas
_______________________________________________
Bug-hurd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-hurd