Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-x11-6.8.2-r1 build fails after glibc-2.3.4.20041102-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
geowapa
n00b
n00b


Joined: 08 Sep 2004
Posts: 50

PostPosted: Sat Mar 19, 2005 2:09 am    Post subject: xorg-x11-6.8.2-r1 build fails after glibc-2.3.4.20041102-r1 Reply with quote

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
View user's profile Send private message
geowapa
n00b
n00b


Joined: 08 Sep 2004
Posts: 50

PostPosted: Sat Mar 19, 2005 6:04 am    Post subject: Reply with quote

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
View user's profile Send private message
ivanl
n00b
n00b


Joined: 15 Jan 2005
Posts: 35
Location: Singapore

PostPosted: Sat Mar 19, 2005 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 354
Location: Belgium

PostPosted: Thu Mar 31, 2005 7:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 354
Location: Belgium

PostPosted: Thu Mar 31, 2005 7:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum