Created attachment 327282 [details] binutils-2.23-build.log ... PASS: exception_separate_shared_21_test FAIL: exception_static_test PASS: weak_test ... ============================ 1 of 185 tests failed See testsuite/test-suite.log ============================ # gdb /var/tmp/portage/sys-devel/binutils-2.23/work/build/gold/testsuite/exception_static_test GNU gdb (Gentoo 7.5 p1) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /var/tmp/portage/sys-devel/binutils-2.23/work/build/gold/testsuite/exception_static_test...done. (gdb) run Starting program: /var/tmp/portage/sys-devel/binutils-2.23/work/build/gold/testsuite/exception_static_test warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffd000 Program received signal SIGABRT, Aborted. 0x00000000004515e5 in raise () (gdb) backtrace #0 0x00000000004515e5 in raise () #1 0x0000000000414c18 in abort () #2 0x000000000040d507 in uw_init_context_1 () #3 0x000000000040d8f7 in _Unwind_RaiseException () #4 0x00000000004006a5 in __cxa_throw () #5 0x0000000000400523 in f1 () at /var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/gold/testsuite/exception_test_2.cc:30 #6 0x00000000004004d9 in t1 () at /var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/gold/testsuite/exception_test_1.cc:43 #7 0x00000000004004a9 in main () at /var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/gold/testsuite/exception_test_main.cc:33 (gdb) disassemble Dump of assembler code for function raise: 0x00000000004515b0 <+0>: mov %fs:0x2d4,%eax 0x00000000004515b8 <+8>: mov %fs:0x2d0,%esi 0x00000000004515c0 <+16>: test %esi,%esi 0x00000000004515c2 <+18>: jne 0x4515f0 <raise+64> 0x00000000004515c4 <+20>: mov $0xba,%eax 0x00000000004515c9 <+25>: syscall 0x00000000004515cb <+27>: mov %eax,%esi 0x00000000004515cd <+29>: mov %eax,%fs:0x2d0 0x00000000004515d5 <+37>: movslq %edi,%rdx 0x00000000004515d8 <+40>: movslq %esi,%rsi 0x00000000004515db <+43>: movslq %eax,%rdi 0x00000000004515de <+46>: mov $0xea,%eax 0x00000000004515e3 <+51>: syscall => 0x00000000004515e5 <+53>: cmp $0xfffffffffffff000,%rax 0x00000000004515eb <+59>: ja 0x4515ff <raise+79> 0x00000000004515ed <+61>: repz retq 0x00000000004515ef <+63>: nop 0x00000000004515f0 <+64>: test %eax,%eax 0x00000000004515f2 <+66>: jg 0x4515d5 <raise+37> 0x00000000004515f4 <+68>: test $0x7fffffff,%eax 0x00000000004515f9 <+73>: je 0x451610 <raise+96> 0x00000000004515fb <+75>: neg %eax 0x00000000004515fd <+77>: jmp 0x4515d5 <raise+37> 0x00000000004515ff <+79>: mov $0xffffffffffffffd0,%rdx 0x0000000000451606 <+86>: neg %eax 0x0000000000451608 <+88>: mov %eax,%fs:(%rdx) 0x000000000045160b <+91>: or $0xffffffffffffffff,%rax 0x000000000045160f <+95>: retq 0x0000000000451610 <+96>: mov %esi,%eax 0x0000000000451612 <+98>: jmp 0x4515d5 <raise+37> End of assembler dump. emerge --info Portage 2.2.0_alpha141 (hardened/linux/amd64/selinux, gcc-4.7.2, glibc-2.16.0, 3.7.0-rc2-custom x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.7.0-rc2-custom-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.2 Timestamp of tree: Wed, 24 Oct 2012 05:15:01 +0000 ccache version 3.1.8 [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12 dev-lang/python: 2.7.3-r2, 3.2.3-r1, 3.3.0 dev-util/ccache: 3.1.8 dev-util/cmake: 2.8.9-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.2 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.4 sys-devel/binutils: 2.23 sys-devel/gcc: 4.6.3, 4.7.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo systemd hardened-dev custom Installed sets: @local-protected ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize" DISTDIR="/usr/local/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--icf=safe" LINGUAS="en en_US zh zh_CN" MAKEOPTS="V=1 -j10" PKGDIR="/usr/local/portage/packages-amd64" PORTAGE_BZIP2_COMMAND="lbzip2" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9ef" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--ipv4" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/systemd /var/lib/layman/hardened-development /usr/local/portage" SYNC="rsync://mirrors.ustc.edu.cn/gentoo-portage" USE="X acl alsa amd64 audit bash-completion berkdb bzip2 c++0x cairo caps cli cracklib crypt custom-cflags cxx dbus dri ffmpeg gdbm gmp gnome gpm gtk gtk3 hardened iconv icu ipv6 jit jpeg jpeg2k justify lzma mmx modules mudflap multilib ncurses nls nptl open_perms opengl openmp pam pcre png pppd pulseaudio qt4 readline selinux session sse sse2 ssl svg systemd tcpd threads tiff udev unicode urandom vim-syntax xattr xinetd zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="bootchart btrfs caps dmsquash-live gensplash livenet lvm nfs ssh-client syslog systemd" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm mips64el x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, USE_PYTHON ================================================================= Package Settings ================================================================= sys-devel/binutils-2.23 was built with the following: USE="cxx (multilib) multislot nls (selinux) zlib -multitarget -static-libs -test -vanilla" CFLAGS="-Wall -Wextra -march=native -pipe -O2" CXXFLAGS="-Wall -Wextra -march=native -pipe -O2"
i suspect it's due to the hardened toolchain
err, nm. i thought this was a test in the ld dir and those passed for me. i see this on non-hardened systems in the gold dir.
someone else reported this back in july on the mailing list, and i've opened a bug report for it too