On Sun, Nov 27, 2011 at 11:24:30PM +0000, Jurij Smakov wrote: > Mike, can you clarify a bit how glibc is failing to meet your > expectations here? I don't mind trying to work on this bug, but with > the available information I don't quite understand the problem. Is it > expected that glibc should work correctly even if _IO_stdin_used > symbol is not exported? If you could provide a simple test case > demonstrating the issue, it would be great too.
What is fishy is that only sparc is affected. So whatever it's doing on sparc, it's doing it differently from other architectures. As for a small test case: $ cat > foo.c <<EOF #include <stdio.h> int main() { setbuf(stdout, 0); return 0; } EOF $ cat > ver <<EOF { local: *; }; EOF $ gcc -o foo foo.c -Wl,--version-script,ver $ ./foo Bus error As a matter of fact, despite the version script, the stdout symbol is still exported. I guess the real problem is that _IO_stdin_used is not defined the same way. Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org