DJ Lucas wrote:
Well, I'm just slightly red faced right now. :-) "I'm almost there!!!!"
and then all of a sudden I can't test it any more...but it's back again!
Such an obvious oversight. Yes, the problem does exist. I've got
glibc building now.
Thanks for the cluebat. I guess I'll get to put my /tools directory to
work after all. :-)
-- DJ Lucas
Okay, the patch works as expected. System appears to work as expected,
but I'm not deleting my backup just yet. Sorry, I'm always a little
concerned replacing glibc on a running system. I did reboot to install
it. Anyway, testcase is below:
[EMAIL PROTECTED] ~]# /lib/libc.so.6
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.0.1.
Compiled on a Linux 2.6.12.5 system on 2005-11-20.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
[EMAIL PROTECTED] ~]# cd /home/dj/bugtest/xbug
[EMAIL PROTECTED] xbug]# make clean
rm -f lib[1234].so test_bug
[EMAIL PROTECTED] xbug]# export
LD_LIBRARY_PATH=".:/usr/local/lib:/usr/X11R6/lib:/usr/lib:/lib"
[EMAIL PROTECTED] xbug]# make
gcc test_bug.c -o test_bug -ldl
gcc -shared -o lib4.so lib4.c
gcc -shared -o lib1.so lib1.c lib4.so
gcc -shared -o lib3.so lib3.c
gcc -shared -o lib2.so lib2.c lib3.so
[EMAIL PROTECTED] xbug]# ./test_bug
Success!
[EMAIL PROTECTED] xbug]# rm lib3.so
[EMAIL PROTECTED] xbug]# ./test_bug
Success!
[EMAIL PROTECTED] xbug]#
-- DJ Lucas
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page