Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55220 - glibc-2.3.4.2004{0605, 0808} do not pass make check on amd64 with USE=nptl
Summary: glibc-2.3.4.2004{0605, 0808} do not pass make check on amd64 with USE=nptl
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-26 03:18 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-04-23 13:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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-2.3.4.20040605/work/build/nptl/tst-cancelx4  -Wl,-dynamic-linker=/lib/ld-linux-x86-64.so.2   -Wl,-z,combreloc -Wl,-z,relro /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/csu/crt1.o /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/csu/crti.o `gcc --print-file-name=crtbegin.o` /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl/tst-cancelx4.o /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl/libpthread.so /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl/libpthread_nonshared.a  -Wl,-rpath-link=/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/math:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/elf:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/dlfcn:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nss:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nis:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/rt:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/resolv:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/crypt:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/libc.so.6 /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/libc_nonshared.a -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/csu/crtn.o
/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl/tst-cancelx4.o(.text+0x1726): In function `tf_accept':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
GCONV_PATH=/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/iconvdata LC_ALL=C   /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/elf/ld-linux-x86-64.so.2 --library-path /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/math:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/elf:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/dlfcn:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nss:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nis:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/rt:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/resolv:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/crypt:/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl/tst-cancelx4  > /mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl/tst-cancelx4.out
Didn't expect signal from child: got `Aborted'
make[2]: *** [/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/build/nptl/tst-cancelx4.out] Error 1
make[2]: Leaving directory `/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/glibc-2.3.4.20040605/nptl'
make[1]: *** [nptl/tests] Error 2
make[1]: Leaving directory `/mnt/raid0/tmp/portage/glibc-2.3.4.20040605/work/glibc-2.3.4.20040605'
make: *** [check] Error 2

!!! ERROR: sys-libs/glibc-2.3.4.20040605 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
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
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"
DISTDIR="/mnt/raid0/gentoo/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/mnt/raid0/gentoo/packages-amd64"
PORTAGE_TMPDIR="/mnt/raid0/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.0.1/gentoo-portage"
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-2.14.90.0.8-r1 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-2.3.4.20040808...
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-2.3.4.20041102-r1 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-2.3.4.20041102-r1 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.



config.log:

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: libsandbox.so: cannot open shared object file: No such file or directory
configure:7455: $? = 127
configure: program exited with status 127


Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11.6-grsec-vs1.9.5 x86_64)
=================================================================
System uname: 2.6.11.6-grsec-vs1.9.5 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/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
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"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
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...