[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Segfault in ld.so - MMX related?
From: |
Frank McIngvale |
Subject: |
Segfault in ld.so - MMX related? |
Date: |
Fri, 14 Dec 2001 09:30:43 -0600 (CST) |
Hi, I'm trying to track down a segfault that is only triggered
by certain versions of binutils, namely:
binutils-2.11.90.0.27 - OK
binutils-2.11.90.0.31 - OK
binutils-2.11.92.0.5 - Segfault
binutils-2.11.92.0.10 - Segfault
binutils-2.11.92.0.12.3 - Segfault
The reason I'm mailing bug-glibc is that it looks like
it is crashing during dynamic linking. i.e., if I
set LD_DEBUG=symbols, it crashes here:
18549: symbol=X11_CreateYUVOverlay; lookup in file=./t
18549: symbol=X11_CreateYUVOverlay; lookup in
file=/usr/X11R6/lib/libsmpeg-0.4.so.0
18549: symbol=X11_CreateYUVOverlay; lookup in
file=/usr/X11R6/lib/libSDL-1.2.so.0
Segmentation fault (core dumped)
My test program is:
t.c:
main() {}
gcc -o t t.c -lsmpeg -lSDL -lpthread
I've tried this with both gcc-2.95.3 and egcs-1.1.2 (i.e. recompiling
binutils & libsmpeg each time), with the same results. (Also with Linux
kernel 2.2.20 and 2.4.16). I've even recompiled my entire system to make
sure there wasn't a version mismatch somewhere.
Here's the odd part: If I compile libsmpeg with "--disable-mmx", the
segfault goes away.
I am using a stock glibc-2.2.4. I emailed H.J. Lu, but he was unable to
reproduce this bug on a recent RedHat. Have there been any CVS patches since
2.2.4
that might have fixed a dynamic linker/MMX bug? Anything else I can try?
(Please cc: me on replies, if this is a mailing list.)
thanks,
frank
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Segfault in ld.so - MMX related?,
Frank McIngvale <=