Summary: | binutils-2.17 ld fails tests with FEATURES="test" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brant Gurganus <brant> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bensberg, bugs+gentoo, chris.kerr, esqualante, fordfrog, gentoo-bugzilla, jakub.januszkiewicz, jesus.de.santos, ladanyi, pacho, pageexec, ravi, s4uliu5, steffen.bergner, tcunha, thecoop, tolich.arz |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
log and emerge info (put into one file)
newest build.log and emerge --info |
Description
Brant Gurganus
2006-08-19 07:47:53 UTC
A manual build outside portage with no CFLAGS or LDFLAGS and no extra Gentoo patches had the tests pass with: ./configure make make check I did a portage build with CFLAGS="" LDFLAGS="" and those tests still fail, so it is looking like either a configure option or a patch that Gentoo makes that causes this. a bunch of arches fail in the 2.17 release, not just i386/x86_64 With USE="vanilla" CFLAGS="-march=pentium4m -mtune=pentium4m -O2" LDFLAGS="", binutils-2.17 installed with all tests passing. maybe for x86, but not all arches work Building with USE="vanilla" works for me too, on amd64. CFLAGS="-O2 -pipe -march=athlon64 -fweb -funit-at-a-time" LDFLAGS="-Wl,-O1" *** Bug 163090 has been marked as a duplicate of this bug. *** Hi, Getting the same problem on a new AMD64 install, with FEATURES="test" === ld Summary === # of expected passes 163 # of unexpected failures 15 # of expected failures 38 /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/build/ld/ld-new 2.16.1 make[3]: *** [check-DEJAGNU] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/build/ld' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/build/ld' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/build/ld' make: *** [check-ld] Error 2 !!! ERROR: sys-devel/binutils-2.16.1-r3 failed. Call stack: ebuild.sh, line 1614: Called dyn_test ebuild.sh, line 1026: Called qa_call 'src_test' environment, line 3671: Called src_test ebuild.sh, line 1304: Called toolchain-binutils_src_test toolchain-binutils.eclass, line 237: Called die jericho ~ # emerge --info Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 01 Mar 2007 06:50:01 +0000 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect, distlocks metadata-transfer multilib-strict, sandbox sandbox, sfperms strict test" GENTOO_MIRRORS="http://gentoo.virginmedia.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="alsa amd64 berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd fortran gdbm gnome gpm gtk iconv ipv6 isdnlog libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd test truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY On x86 after removing the following patch binutils-2.17 builds fine and all tests pass: 63_all_binutils-2.16.91.0.7-pt-pax-flags-20060317.patch It is still not fixed for official 2007 release (drop of patch #63). Please can someone take care of it (or how can I do this)? *** Bug 181167 has been marked as a duplicate of this bug. *** >binutils-2.17 fails tests (FEATURES="test") even with reasonable CFLAGS and no LDFLAGS. Depending on what version this message applied to, it looks like it may be a problem in the tests. >http://sources.redhat.com/ml/binutils/2006-05/msg00047.html I would like to get attention for Gentoo 2007.0. Seems Bug #144419 is "down" for a while. Testsuite seems to be fixed (as mentioned in URL above) Some lines out of my install/test log: Running /var/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/ld/testsuite/ld-i386/i386.exp ... FAIL: TLS -fpic -shared transitions FAIL: TLS descriptor -fpic -shared transitions FAIL: TLS -fpic and -fno-pic exec transitions FAIL: TLS descriptor -fpic and -fno-pic exec transitions FAIL: TLS -fno-pic -shared FAIL: TLS with global dynamic and descriptors Running /var/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/ld/testsuite/ld-ia64/ia64.exp ... Running /var/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/ld/testsuite/ld-scripts/empty-aligned.exp ... FAIL: ld-scripts/empty-aligned Running /var/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.exp ... Created attachment 121385 [details]
log and emerge info (put into one file)
Is there any plan when this bug will be fixed? IMHO is rather old. Created attachment 124028 [details]
newest build.log and emerge --info
Just took out of "no-test" and still have issues with binutils testing:
=== ld Summary ===
# of expected passes 265
# of unexpected failures 7
# of expected failures 4
/var/tmp/portage/sys-devel/binutils-2.17/work/build/ld/ld-new 2.17
Same problem here: -------------------------------------------------------------------- FAIL: TLS -fpic -shared transitions FAIL: TLS descriptor -fpic -shared transitions FAIL: TLS -fpic and -fno-pic exec transitions FAIL: TLS descriptor -fpic and -fno-pic exec transitions FAIL: TLS -fno-pic -shared FAIL: TLS with global dynamic and descriptors -------------------------------------------------------------------- Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 22 Jul 2007 01:20:01 +0000 dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -pipe -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/logwatch/default.conf /var/www/localhost/htdocs/cacti/include /var/www/localhost/htdocs/wordpress /var/www/noesis.mine.nu/htdocs/dokuwiki/conf" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -pipe -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict test userpriv" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US" LC_ALL="en_US" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acpi apache2 berkdb bitmap-fonts cli cracklib crypt dri gdbm gnome gtk gtk2 iconv isdnlog libg++ midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection samba session snmp spl sse sse2 ssl svg test truetype-fonts type1-fonts usb vhosts x86 xorg zlib" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="cfontz cfontzpacket" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Same problem here on multiple x86 systems: tui ~ # grep FAIL /var/tmp/portage/sys-devel/binutils-2.17/temp/build.log FAIL: TLS -fpic -shared transitions FAIL: TLS descriptor -fpic -shared transitions FAIL: TLS -fpic and -fno-pic exec transitions FAIL: TLS descriptor -fpic and -fno-pic exec transitions FAIL: TLS -fno-pic -shared FAIL: TLS with global dynamic and descriptors FAIL: ld-scripts/empty-aligned tui ~ # The same problem. binutils-2.17-r1, x86, gcc-4.2.0. Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/config/default.exp as tool-and-target-specific interface file. Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/ar.exp ... Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/dlltool.exp ... Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/hppa/objdump.exp ... Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/m68k/objdump.exp ... Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/nm.exp ... Version /var/tmp/portage/sys-devel/binutils-2.17-r1/work/build/binutils/nm-new 2.17 Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/objcopy.exp ... Version /var/tmp/portage/sys-devel/binutils-2.17-r1/work/build/binutils/objcopy 2.17 FAIL: objcopy -O srec ERROR: objdump can not recognize bintest.o ERROR: objdump can not recognize bintest.o FAIL: run stripped executable Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/objdump.exp ... Version /var/tmp/portage/sys-devel/binutils-2.17-r1/work/build/binutils/objdump 2.17 FAIL: objdump -i FAIL: objdump -f FAIL: objdump -h FAIL: objdump -r FAIL: objdump -s Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/readelf.exp ... Version /var/tmp/portage/sys-devel/binutils-2.17-r1/work/build/binutils/readelf 2.17 FAIL: finding out ELF size with readelf -h FAIL: readelf -h FAIL: readelf -S FAIL: readelf -s FAIL: readelf -r Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/size.exp ... Version /var/tmp/portage/sys-devel/binutils-2.17-r1/work/build/binutils/size 2.17 Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/vax/objdump.exp ... Running /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/binutils/testsuite/binutils-all/windres/windres.exp ... === binutils Summary === # of expected passes 17 # of unexpected failures 12 # of unresolved testcases 1 __________________ #emerge --info Portage 2.1.3_rc9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 i686) ================================================================= System uname: 2.6.21-gentoo-r3 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System release 2.0.0_alpha4 Timestamp of tree: Sun, 29 Jul 2007 14:30:10 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="digest distlocks metadata-transfer sandbox sfperms strict test unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.utf8" LINGUAS="ru en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/php-experimental /usr/portage/local/layman/php-testing /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi aim alsa apache2 berkdb bitmap-fonts bzip2 cdr cgi cli cracklib crypt dbus dri dvd exif ffmpeg firefox fortran ftp gdbm gif gpm gtk gtk2 hal iconv icq isdnlog jabber java javascript jpeg jpeg2k kde kdehiddenvisibility libg++ midi mime mmx mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png pppd python qt3 qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl tcpd test threads tiff timidity truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xcomposite xine xorg xpm xvid zip zlib" ALSA_CARDS="intel8x0 seq-dummy" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS 2.17/2.18 disable the false positive tests now |