=== ld tests === Schedule of variations: unix 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.18-r1/work/binutils-2.18/ld/testsuite/config/default.exp as tool-and-target-specific interface file. (...) Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-i386/i386.exp ... FAIL: Reloc section order FAIL: --warn-shared-textrel --fatal-warnings Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-ia64/ia64.exp ... (...) === ld Summary === # of expected passes 353 # of unexpected failures 2 # of expected failures 57 I also tried compiling binutils by hand. It passed all tests with no patches. I found that patch responsible for these fails is '66_all_binutils-2.17.50.0.2-warn-textrel.patch'. (It also causes one fail with TLS, but patch '20_all_binutils-skip-some-tests.patch' disables it.) Reproducible: Always
Created attachment 132784 [details] emerge log
Created attachment 132786 [details] emerge --info
Created attachment 132892 [details] build log Fails here with 'nls -multislot (-multitarget) -test -vanilla'. Build log attached.
3 Tests fail here with (complete build available, if you need it.): Test Run By root on Fri Oct 19 10:05:14 2007 Native configuration is i686-pc-linux-gnu === binutils tests === Schedule of variations: unix 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.18-r1/work/binutils-2.18/binutils/testsuite/config/default.exp as tool-and-target-specific interface file. Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/ar.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/arm/objdump.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/dlltool.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/hppa/objdump.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/m68k/objdump.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/nm.exp ... Version /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/binutils/nm-new 2.18 Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/objcopy.exp ... Version /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/binutils/objcopy 2.18 FAIL: run objcopy of executable FAIL: run stripped executable FAIL: run stripped executable with saving a symbol Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/objdump.exp ... Version /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/binutils/objdump 2.18 Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/readelf.exp ... Version /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/binutils/readelf 2.18 Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/size.exp ... Version /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/binutils/size 2.18 Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/vax/objdump.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils/testsuite/binutils-all/windres/windres.exp ... === binutils Summary === # of expected passes 42 # of unexpected failures 3 make[4]: *** [check-DEJAGNU] Error 1 # emerge --info Portage 2.1.3.9 (hardened/x86, gcc-3.4.6, glibc-2.3.6-r5, 2.4.33.4-hardened-grsec i686) ================================================================= System uname: 2.4.33.4-hardened-grsec i686 AMD Athlon(tm) XP Timestamp of tree: Fri, 19 Oct 2007 00:20:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.3.5-r3, 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 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.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.4.26-r1 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon-xp -O2 -pipe -Wall" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" 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 /etc/texmf/web2c" CXXFLAGS="-mtune=athlon-xp -O2 -pipe -Wall" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.rub.de/download/gentoo-mirror" 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://linux.rz.rub.de/gentoo-portage" USE="3dnow apache2 berkdb bzip2 chroot cracklib crypt fbcon gdbm hardened hardenedphp imap innodb jpeg logrotate mbox md5sum midi mpm-prefork ncurses nls odbc pam pam_chroot pam_timestamp pic png python readline sftplogging skey ssl tcpd test urandom vchroot vhosts x86 xml xorg zlib" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ups, 34 unexpected failures here: -------------------------- === ld Summary === # of expected passes 407 # of unexpected failures 34 # of expected failures 4 -------------------------- === ld tests === Schedule of variations: unix 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.18-r1/work/binutils-2.18/ld/testsuite/config/default.exp as tool-and-target-specific interface file. Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-alpha/alpha.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-arm/arm-elf.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-auto-import/auto-import.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-bootstrap/bootstrap.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-cdtest/cdtest.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-checks/checks.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-cris/cris.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-crx/crx.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-cygwin/exe-export.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-d10v/d10v.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-discard/discard.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/binutils.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/dwarf.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/elf.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/exclude.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/frame.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/sec64k.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/shared.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/tls_common.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elf/wrap.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elfcomm/elfcomm.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elfvers/vers.exp ... FAIL: vers26b3 Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elfvsb/elfvsb.exp ... FAIL: visibility (hidden) (non PIC) FAIL: visibility (hidden) (non PIC, load offset) FAIL: visibility (hidden) (PIC main, non PIC so) FAIL: visibility (hidden_normal) (non PIC) FAIL: visibility (hidden_normal) (non PIC, load offset) FAIL: visibility (hidden_normal) (PIC main, non PIC so) FAIL: visibility (hidden_undef_def) (non PIC) FAIL: visibility (hidden_undef_def) (non PIC, load offset) FAIL: visibility (hidden_undef_def) (PIC main, non PIC so) FAIL: visibility (hidden_weak) (non PIC) FAIL: visibility (hidden_weak) (non PIC, load offset) FAIL: visibility (hidden_weak) (PIC main, non PIC so) FAIL: visibility (protected) (non PIC) FAIL: visibility (protected) (non PIC, load offset) FAIL: visibility (protected) (PIC main, non PIC so) FAIL: visibility (protected_undef_def) (non PIC) FAIL: visibility (protected_undef_def) (non PIC, load offset) FAIL: visibility (protected_undef_def) (PIC main, non PIC so) FAIL: visibility (protected_weak) (non PIC) FAIL: visibility (protected_weak) (non PIC, load offset) FAIL: visibility (protected_weak) (PIC main, non PIC so) FAIL: visibility (normal) (non PIC) FAIL: visibility (normal) (non PIC, load offset) FAIL: visibility (normal) (PIC main, non PIC so) Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-elfweak/elfweak.exp ... FAIL: ELF DSO weak data first DSO FAIL: ELF DSO weak data last DSO FAIL: ELF DSO weak data first DSO common FAIL: ELF DSO weak data last DSO common Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-fastcall/fastcall.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-frv/fdpic.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-frv/frv-elf.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-frv/tls.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-h8300/h8300.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-i386/i386.exp ... FAIL: Reloc section order FAIL: --warn-shared-textrel --fatal-warnings Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-ia64/ia64.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-libs/libs.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-linkonce/linkonce.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-m68hc11/m68hc11.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-m68k/m68k.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-maxq/maxq.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-mep/mep.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-mips-elf/mips-elf-flags.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-mips-elf/mips-elf.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-mmix/mmix.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-pe/direct.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-pe/pe.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-pie/pie.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-powerpc/powerpc.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-s390/s390.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/align.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/alignof.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/assert.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/crossref.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/data.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/default-script.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/defined.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/dynamic-sections.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/empty-address.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/empty-aligned.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/empty-orphan.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/expr.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/extern.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/map-address.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/overlay-size.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/phdrs.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/phdrs2.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/provide.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/script.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/size.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/sizeof.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/sort.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-scripts/weak.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-selective/sel-dump.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-selective/selective.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sh/arch/arch.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sh/rd-sh.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sh/sh-vxworks.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sh/sh.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sh/sh64/rd-sh64.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sh/sh64/relax.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sh/sh64/relfail.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sh/sh64/sh64.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-shared/shared.exp ... FAIL: shared (non PIC) FAIL: shared (non PIC, load offset) FAIL: shared (PIC main, non PIC so) Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-sparc/sparc.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-spu/spu.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-srec/srec.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-undefined/undefined.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-undefined/weak-undef.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-v850/v850.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-versados/versados.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-vxworks/vxworks.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-x86-64/x86-64.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-xc16x/xc16x.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-xstormy16/xstormy16.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-xtensa/coalesce.exp ... Running /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld/testsuite/ld-xtensa/lcall.exp ...
----------------------------------------------------------------- [ebuild R ] sys-devel/binutils-2.18-r1 USE="nls test* -multislot -multitarget -vanilla" 0 kB ----------------------------------------------------------------- Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686) ================================================================= System uname: 2.6.22-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.40GHz Timestamp of tree: Sun, 28 Oct 2007 02:20:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.3.5-r3, 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -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 /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict test unmerge-orphans userfetch 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 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
Created attachment 134825 [details] sys-devel:binutils-2.18-r1:20071021-195145.log Same results as Jesus. # emerge -pv [ebuild U ] sys-devel/binutils-2.18-r1 [2.17] USE="nls test* -multislot -multitarget -vanilla" 0 kB # emerge --info Portage 2.1.3.9 (!..//var/cvsroot/gentoo-x86/profiles/default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r6 i686) ================================================================= System uname: 2.6.22-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Timestamp of tree: Sun, 21 Oct 2007 15:00:09 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r6 sys-apps/baselayout: 2.0.0_rc5 sys-apps/sandbox: 1.2.17 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 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" 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/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/var/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/" LANG="" LC_ALL="es_ES.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="es es_ES 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="/var/paludis/repositories/gentoo" PORTDIR_OVERLAY="/usr/local/portage /home/coldwind/dev/sunrise/sunrise /var/paludis/repositories/musicbrainz /var/paludis/repositories/cowerlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib ace acl acpi aiglx aim allegro alsa amr ao apache2 asf asm audiofile avahi bash-completion berkdb bitmap-fonts bittorrent bluetooth bonjour bzip2 cairo ccache cdda cddb cdio cdparanoia cdr cli cracklib crypt cscope css ctype cups curl d daap dba dbus dga dhcp divx dmx dri dssi dts dv dvd dvdr dvdread dvi ecc emboss encode exif expat fam fastbuild fastcgi fat festival ffmpeg fftw firefox flac fluidsynth fmod fortran freetype ftp gcj gd gdbm geoip gif gimp glade glitz glsa glut glx gmedia gmp gnutls gpm gstreamer gtk gtk2 guile gvim hal howl icecast iconv icq idn imagemagick ipod irc irda irssi isdnlog jabber jack javascript jpeg jpeg2k kde kerberos kqemu ladspa lame lcms ldap libcaca libnotify libofa lua mad matroska mbrola memlimit midi mikmod ming mjpeg mmx mng modplug mono mozilla mp3 mpeg mplayer msn mudflap musepack musicbrainz mysql ncurses nfs nis nls nptl nptlonly ntfs ocaml ode ofa offensive ogg openal openexr opengl openmp pam pango pcmcia pcre pda pdf perl php png portaudio posix pppd psyco python qt3 qt3support qt4 quicktime rar readline reflection reiserfs rss ruby samba samplerate sdl session sid simplexml slang smp sndfile soap sockets softmmu speex spell spl sqlite sse sse2 ssl startup-notification subtitles subversion svg tcpd test tga theora threads tidy tiff timidity tokenizer transcode trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vfat vidix vim visualization vnc vorbis win32codecs wma wmf wmp x264 x86 xanim xcb xcomposite xft xine xml xml2 xorg xosd xpm xrandr xscreensaver xsl xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="ati" 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 synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en" USERLAND="GNU" VIDEO_CARDS="radeon vesa v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 138120 [details] build log I get the same 2 fails as the initial bug report. If you need any more information just let me know.
(In reply to comment #5) > === ld Summary === > > # of expected passes 407 > # of unexpected failures 34 > # of expected failures 4 I get exactly the same results as Jesus. As Michal says against his original report, this is caused by 66_all_binutils-2.17.50.0.2-warn-textrel.patch. This is a relatively simple patch, which: 1) makes 'warn_shared_textrel' default to TRUE 2) warns on textrels in all (dynamic) objects, not just shared objects I haven't looked at the all affected tests in detail, but I would guess they're checking the stdout/stderr output from ld, and either don't expect the textrel warning or are looking for the original warning. This has been taken care of in for some of the tests (see last hunk of the patch), but not all (ld/testsuite/ld-i386/warn1.d hasn't been altered in line with the patch, for example). The patch doesn't affect the generated objects in the slightest; it just affects the text that ld puts out when linking. So IMO it's safe to emerge despite the test failures. # emerge --info Portage 2.1.4.1 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4,glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686) ================================================================= System uname: 2.6.22-gentoo-r5 i686 AMD Athlon(tm) XP 2500+ Timestamp of tree: Sun, 03 Feb 2008 10:00:01 +0000 app-shells/bash: 3.2_p17 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/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 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 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -ggdb2" 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/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs collision-protect cvs distlocks fixpackages installsources metadata-transfer pax sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="ftp://ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.virginmedia.com/ http://mirror.qubenet.net/mirror/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en it de es fr" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/tree" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi ada alsa apache2 arts audiofile berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups cvs dbus dri dts dv dvb dvd dvdr dvdread encode fam fax ffmpeg firefox flac flash foomaticdb fortran gcj gdbm gif gpm gs gstreamer gtk gtk2 hal iconv imagemagick imap imlib ipod ipv6 isdnlog jack java javascript jbig jpeg jpeg2k kde ldap lesstif mad mbrola midi mime ming mmap mmx mmxext mng mp3 mpeg mplayer mudflap nas ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pda pdf perl png ppds pppd pygtk python qt3 qt4 quicktime readline reflection rle ruby samba session speex spell spl sse sse2 ssl subversion svg tcl tcltk tcpd test tetex theora threads tidy tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vdr vim-syntax vorbis wifi win32codecs wmf x264 x86 xine xinerama xml xmlrpc xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en it de es fr" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Anyway, what is the purpose of the test use flag? I emerge binutil disabling the tests (in make.conf), but my daily automatic script notifies me that binutil should be reemerged because there is a change in a flag...
(In reply to comment #10) > Anyway, what is the purpose of the test use flag? > > I emerge binutil disabling the tests (in make.conf), but my daily automatic > script notifies me that binutil should be reemerged because there is a change > in a flag... > The USE flag only pulls in the dependencies for running the tests. The FEATURES flag causes emerge to actually run the tests. RTFM
As above, on amd64 -r3 also fails: [ebuild U ] sys-devel/binutils-2.18-r3 [2.18-r1] USE="-multislot -multitarget nls test -vanilla" 0 kB 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 /usr/tmp/portage/sys-devel/binutils-2.18-r3/work/binutils-2.18/ld/testsuite/config/default.exp as tool-and-target-specific interface file. ... FAIL: Reloc section order FAIL: --warn-shared-textrel --fatal-warnings ... === ld Summary === # of expected passes 363 # of unexpected failures 2 # of expected failures 57 /usr/tmp/portage/sys-devel/binutils-2.18-r3/work/build/ld/ld-new 2.18 make[4]: *** [check-DEJAGNU] Error 1 make[4]: Leaving directory `/usr/tmp/portage/sys-devel/binutils-2.18-r3/work/build/ld' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/usr/tmp/portage/sys-devel/binutils-2.18-r3/work/build/ld' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/usr/tmp/portage/sys-devel/binutils-2.18-r3/work/build/ld' make[1]: *** [check-ld] Error 2 make[1]: Leaving directory `/usr/tmp/portage/sys-devel/binutils-2.18-r3/work/build' make: *** [do-check] Error 2 * * ERROR: sys-devel/binutils-2.18-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_test * environment, line 2790: Called toolchain-binutils_src_test * environment, line 3489: Called die * The specific snippet of code: * make check || die "check failed :(" * The die message: * check failed :(
To sort this out, two things for 66_all_binutils-2.17.50.0.2-warn-textrel.patch: 1) change: + regsub -all "^lt-ld-new: warning: creating a DT_TEXTREL in object\." $exec_output "\\1" exec_output to: + regsub -all "^.*ld-new: warning: creating a DT_TEXTREL in object\." $exec_output "\\1" exec_output This makes the patch find the lines as they appear in 2.6.18 (presumably things were slightly different in 2.17). 2) add to patch: --- binutils-2.18/ld/testsuite/ld-i386/warn1.d.orig 2008-07-19 16:28:47.000000000 +0100 +++ binutils-2.18/ld/testsuite/ld-i386/warn1.d 2008-07-19 16:28:54.000000000 +0100 @@ -1,4 +1,4 @@ #name: --warn-shared-textrel --fatal-warnings #as: --32 #ld: -shared -melf_i386 --warn-shared-textrel --fatal-warnings -#error: .*warning: creating a DT_TEXTREL in a shared object. +#error: .*warning: creating a DT_TEXTREL in object. This changes the expected warning in line with the change to the warning text earlier in the same patch.
in binutils-patches-1.8, thanks.