Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55220

Summary: glibc-{0605, 0808} do not pass make check on amd64 with USE=nptl
Product: Gentoo Linux Reporter: Jeremy Huddleston (RETIRED) <eradicator>
Component: [OLD] Core systemAssignee: AMD64 Project <amd64>
Severity: major CC: maze, toolchain
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---

Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-26 03:18:42 UTC
I had to set FEATURES=-sandbox because of bug #55218, but glibc still didn't want to emerge and failed in nptl:

gcc -nostdlib -nostartfiles -o /mnt/raid0/tmp/portage/glibc-  -Wl,-dynamic-linker=/lib/   -Wl,-z,combreloc -Wl,-z,relro /mnt/raid0/tmp/portage/glibc- /mnt/raid0/tmp/portage/glibc- `gcc --print-file-name=crtbegin.o` /mnt/raid0/tmp/portage/glibc- /mnt/raid0/tmp/portage/glibc- /mnt/raid0/tmp/portage/glibc-  -Wl,-rpath-link=/mnt/raid0/tmp/portage/glibc- /mnt/raid0/tmp/portage/glibc- /mnt/raid0/tmp/portage/glibc- -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` /mnt/raid0/tmp/portage/glibc-
/mnt/raid0/tmp/portage/glibc- In function `tf_accept':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
GCONV_PATH=/mnt/raid0/tmp/portage/glibc- LC_ALL=C   /mnt/raid0/tmp/portage/glibc- --library-path /mnt/raid0/tmp/portage/glibc- /mnt/raid0/tmp/portage/glibc-  > /mnt/raid0/tmp/portage/glibc-
Didn't expect signal from child: got `Aborted'
make[2]: *** [/mnt/raid0/tmp/portage/glibc-] Error 1
make[2]: Leaving directory `/mnt/raid0/tmp/portage/glibc-'
make[1]: *** [nptl/tests] Error 2
make[1]: Leaving directory `/mnt/raid0/tmp/portage/glibc-'
make: *** [check] Error 2

!!! ERROR: sys-libs/glibc- failed.
!!! Function do_makecheck, Line 141, Exitcode 2
!!! (no error message)

Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.3_pre20040529-r0, 2.6.7-gentoo-r3)
System uname: 2.6.7-gentoo-r3 x86_64 4
Gentoo Base System version 1.4.16
distcc 2.13 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.5
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
USE="3ds S3TC X X509 Xaw3d aac aalib accessibility acl acpi activefilter afs aim alsa altivec amd amd64 apache2 apm ardour-ksi arts artswrappersuid atlas audiofile autofs avantgo avi berkdb bidi bindist caps cdr chroot clamav clanJavaScript clanVoice clearpasswd client clisp cmucl crypt cscope cups curl dbcp dedicated dga directfb divx4linux dnd doc dv dvd dvdr eim emacs emacs-w3 encode esd ethereal evms2 evo expat ext-png ext-zlib f77 faac faad fam fax fbcon fbdev ffmpeg flac flash fltk fluidsynth foomaticdb freetype fs fullrpc gb gcj gcl gd gd-external gdbm ggi gif gimp gimpprint glade glut gmp gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gnuplot gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci icq idl image imagemagick imap imlib imlib2 innodb ipalias ipv6 jabber jack jack-caps java javacomm javamail javascript jbig jikes joystick jp2 jpeg js junit justify kde ladcca lcd lcms libdsk libg libg++ libgda libwww lids lmtp log4j ltsp lua lucid lzw lzw-tiff mad maildir make-busybox-symlinks makecheck mcal md5sum menu mikmod milter mixer mng mono motif mozcalendar mozctl mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi mplayer msn mule multilib music mysql nas native ncurses neXt nls nptl nvidia nviz oav objc oci8 odbc offensive ofx oggvorbis oldworld openal opengl oscar oss pam parse-clocks passfile pcap pcmcia pcre pda pdflib perl php pic pie plotutils png pnp portaudio ppds prelude propolice psyco python qhull qt quicktime readline regexp rplay ruby samba sasl sdl server silc skey slang slp sndfile socks5 sox speex spell sqlite src ssl svg tcltk tcpd tetex theora tiff timidity transcode transparent-proxy truetype trusted type1 ucs2 usb v4l v4l2 vda vhosts videos vim-with-x virus-scan wmf wsconvert wxwin wxwindows xchattext xemacs xface xforms xfs xine xinerama xml xml2 xmms xosd xprint xv xvid yahoo zeo zlib"
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-06-26 04:38:31 UTC
Can't confirm, USE="nptl" emerge =glibc-2.3.4-2004060.ebuild went fine, compile and merge have been successfull. (Latest CVS version of the particular ebuild).

Jeremy: Can you test again ? probably hardwareproblem ... (Have you checked dmesg on segfaults ?)
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-26 12:24:05 UTC
kugelfang: Did you have USE=makecheck.  It is failing during the 'make check' phase which isn't done unelss youu have USE=makecheck.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-27 03:03:06 UTC
Lv wanted me to try sys-devel/binutils- to see if this would work with that version of binutils... it failed with the same result (as 2.15).
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-08-20 12:30:43 UTC
Still fails with glibc-
Comment 5 solar (RETIRED) gentoo-dev 2004-08-20 14:06:04 UTC
sandbox + nptl + maketest will fail everytime. 
Seems to have something to do with vfork(),vsyscall()
that's all I know.
Comment 6 Alex Howells (RETIRED) gentoo-dev 2005-03-28 10:50:52 UTC
Bloody ancient bug, no recent activity. No comments about whether it still exists in newer versions, and solar's comment seems to suggest it can be fixed by not using a particular combination. Going to mark RESOLVED NEEDINFO - please reopen if you feel it's still a problem with Gentoo/AMD64 2005.0 using current packages.
Comment 7 Martin Honermeyer 2005-04-21 14:53:56 UTC
glibc- now fails for me on amd64!

checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

!!! ERROR: sys-libs/glibc- failed.
!!! Function glibc_do_configure, Line 707, Exitcode 1
!!! failed to configure glibc
!!! If you need support, post the topmost build error, NOT this status message.


configure:7447: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=nocona -pipe -fre
order-blocks -O2   conftest.c  >&5
configure:7450: $? = 0
configure:7452: ./conftest
./conftest: error while loading shared libraries: cannot open shared object file: No such file or directory
configure:7455: $? = 127
configure: program exited with status 127

Portage (default-linux/amd64/2005.0, gcc-3.4.3, glibc-, x86_64)
System uname: x86_64 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 16 2005, 07:14:46)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/libtool:   1.5.14
CFLAGS="-O2 -march=nocona -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=nocona -pipe"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox strict"
USE="amd64 acpi alsa apache2 berkdb bitmap-fonts crypt dba font-server fortran freetds ftp gd gif gpm imagemagick ipv6 jp2 jpeg lzw lzw-tiff mp3 mssql mysql ncurses nls nptl opengl oss pam pdflib perl png python readline soap ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xmlrpc xrandr xv zlib"
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-21 15:04:00 UTC
You didn't follow the upgrade guide.  Set the symlink back to 2004.3, and emerge gcc and portage with USE=multilib.
Comment 9 Martin Honermeyer 2005-04-22 09:53:22 UTC
Ups! I didn't even know about an upgrade guide. Just did what portage told me to do.. Didn't know that the path to 2005.0 is _that_ complicated!
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-23 13:37:34 UTC
What do you mean "what portage told you to do"?  2004.3 isn't deprecated yet, so it shouldn't've told you to do anything...