This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiler problem?


gcc-2.95.3 (+ patches)
binutils 2.11.2
linux-2.4.8 headers

Just built the released glibc-2.2.4. Passed make check.

Compiling a dynamically linked fileutils-4.1 results in
ls segfaulting.

I have no idea about this stuff.

Here's the trace:

Starting program: /usr/src/fileutils-4.1/src/ls
[New Thread 1024 (LWP 4013)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 4013)]
__pthread_alt_lock (lock=0x40148a74, self=0x0) at spinlock.c:440
440       do {
(gdb) bt
#0  __pthread_alt_lock (lock=0x40148a74, self=0x0) at spinlock.c:440
#1  0x401578f5 in __pthread_mutex_lock (mutex=0x40148a64) at mutex.c:120
#2  0x4012c248 in __register_frame_info (begin=0x40148b64, ob=0x4014b2e0) at ../../gcc-2.95.3/gcc/frame.c:627
#3  0x4004761e in __libc_global_ctors () at soinit.c:50
#4  0x400476c2 in init (argc=1, argv=0xbffffe34, envp=0xbffffe3c) at ../sysdeps/unix/sysv/linux/init-first.c:103
#5  0x4000b797 in call_init (l=0x400152f0, argc=1, argv=0xbffffe34, env=0xbffffe3c) at dl-init.c:70
#6  0x4000b8ee in _dl_init (main_map=0x40014cb8, argc=1, argv=0xbffffe34, env=0xbffffe3c) at dl-init.c:141

If this is a compiler problem then its probably caused by me
(foolishly) changing the default gcc arch to "pentiumpro". I'll
rebuild the whole shebang without this change and see what happens.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]