glibc diff -> nptl solution -> wtf?

Florin Braescu florin at lunar-linux.org
Wed Dec 28 05:42:00 UTC 2005


Pe data de Mie 28 Dec 2005 17:28, Auke Kok a scris:
> Auke Kok wrote:
> I'm trying for 2 days now to compile glibc-2.3.6+nptl with gcc-3.4.5 and
> I still get the same error:
>
> [...]
> running configure fragment for sysdeps/i386/elf
> checking for i386 TLS support... yes
> running configure fragment for nptl/sysdeps/unix/sysv/linux
> running configure fragment for nptl/sysdeps/pthread
> configure: error: compiler support for __thread is required
>
> florin, can you please send me the output of `gcc -v` and
> `/lib/libc.so.6` ???
>
> anyone else running nptl - please do as well.
>

  Sofar, there it is the required stuff. I have attached the compile logs too.

  Currently i use:

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --host=i686-pc-linux-gnu --enable-languages=c++ 
--prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man 
--enable-__cxa_atexit --enable-threads --disable-nls --enable-target-optspace 
--with-gnu-ld --with-system-zlib --enable-shared
Thread model: posix
gcc version 4.0.2

  but i use the same setup on my laptop for gcc 3.4.5.

  For /lib/libc.so.6 i get:

GNU C Library stable release version 2.3.6, 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.2.
Compiled on a Linux 2.6.12 system on 2005-11-23.
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>.

  Florin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-4.0.2.bz2
Type: application/x-bzip2
Size: 44787 bytes
Desc: not available
Url : http://foo-projects.org/pipermail/lunar-dev/attachments/20051228/c9b637ea/gcc-4.0.2-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-2.3.6.bz2
Type: application/x-bzip2
Size: 124624 bytes
Desc: not available
Url : http://foo-projects.org/pipermail/lunar-dev/attachments/20051228/c9b637ea/glibc-2.3.6-0001.bin


More information about the Lunar-dev mailing list