then I have a question: in RH9 with kernel
2.4.20,/lib/tls/libpthread.so.0 print the info :
"NPTL 0.29 by Ulrich Drepper
Copyright (C) 2003 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."
and /lib/tls/libc-2.3.2.so in RH9 print as below:
"GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 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 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
Compiled on a Linux 2.4.20 system on 2003-03-13.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
NPTL 0.29 by Ulrich Drepper
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included."
it seem that the RH9 support the NPTL threadlib on gcc 3.2.2 in kernel 2.4.20
so ,why cannt lfs-5.1.1 support it ?
On 8/9/05, Rainer Peter Feller
<[EMAIL PROTECTED]> wrote:
> On Tue, 2005-08-09 at 13:30 +0800, yang lin wrote:
> > hi all
> >
> > I have completed a LFS system using lfs-5.1.1 . but when I run a program
> > that
> > compiled in RH9 with multi-thread, the errors happend ,and the program
> > halted.
> >
> > I look at the library dependencies with ldd .
> > on RH9 ,just as libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40037000)
> > and in lfs , libpthread.so.0 => /lib/libpthread.so.0 (0x4001a000)
> >
> > so I suspect that lfs-5.1.1 didnt compile the NPTL ,and caused thread error.
> >
> > how can I compile the NPTL to replace current thread lib?
> >
> > btw: I using kernel 2.4.18 ,and gcc 3.3.3
> >
> > any suggestion be thankful
> With 2.4.18 and gcc-3.3.3 hm the compiler should work, but not the
> kernel (at leat not without heavy patching / backporting from 2.6.x)
> NPTL needs features of 2.6.x!
>
> Why don't you want to upgrade?
> --
> H
> CUH Rainer Peter Feller
> H
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page