View previous topic :: View next topic |
Author |
Message |
geowapa n00b
Joined: 08 Sep 2004 Posts: 50
|
Posted: Sat Mar 19, 2005 2:09 am Post subject: xorg-x11-6.8.2-r1 build fails after glibc-2.3.4.20041102-r1 |
|
|
I'm getting a build error trying to emerge the latest xorg after having emerged the new glibc-2.3.4.20041102-r1 into it's slot.
I've searched the forums and google and have not seen anyone reporting anything similar.
My use flags from the emerge -v command: x11-base/xorg-x11-6.8.2-r1 [6.8.0-r5] -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv
and glibc: sys-libs/glibc-2.3.4.20041102-r1 -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl -nptlonly -pic -userlocales
Any suggestions? Thanks
i686-pc-linux-gnu-gcc -o makekeys -O2 -mcpu=i686 -fomit-frame-pointer -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" util/makekeys.c -lpthread -Wl,-rpath-link,../../exports/lib
/lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
distcc[31435] ERROR: compile util/makekeys.c on localhost failed |
|
Back to top |
|
|
geowapa n00b
Joined: 08 Sep 2004 Posts: 50
|
Posted: Sat Mar 19, 2005 6:04 am Post subject: |
|
|
Found my own answer. Others are reporting that the combination of +nptl and -nptlonly breaks things. Looks like this was my issue as well. re emerged glibc with +nptl +nptlonly and x compiled/linked cleanly.
George |
|
Back to top |
|
|
ivanl n00b
Joined: 15 Jan 2005 Posts: 35 Location: Singapore
|
Posted: Sat Mar 19, 2005 6:09 am Post subject: |
|
|
I recall reading in the forums not to use glibc-2.3.4.20041102. Instead use glibc-2.3.4.20050125 instead. |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Thu Mar 31, 2005 7:10 pm Post subject: |
|
|
I recompiled glib with +nptl +nptlonly and it solved my issue as well
all errors related to errno@GLIBC_PRIVATE' are gone
For the record, I use glibc 2.3.4.20050125-r1 because I configured sys-libs/glibc ~x86 in /etc/portage/package.keywords _________________ Olivier PELERIN |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Thu Mar 31, 2005 7:19 pm Post subject: |
|
|
as well it solved the compilation of mysql.
The following error is gone
Code: |
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.
|
_________________ Olivier PELERIN |
|
Back to top |
|
|
|