Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292750 - sys-devel/binutils-2.20 fails src_test ld tests due to pax patches
Summary: sys-devel/binutils-2.20 fails src_test ld tests due to pax patches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 05:58 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2010-03-08 04:42 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,372.23 KB, text/plain)
2009-11-11 06:05 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
environment (environment,132.91 KB, text/plain)
2009-11-11 06:05 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-11-11 05:58:08 UTC
On a clean install in virtual box, upgrading to ~amd64, src_test fails.

FAIL: ld-elf/eh1
FAIL: ld-elf/eh2
FAIL: ld-elf/eh3
FAIL: ld-elf/eh6
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elf/exclude.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elf/frame.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elf/sec-to-seg.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elf/sec64k.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elf/shared.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elf/tls_common.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elf/wrap.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elfcomm/elfcomm.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elfvers/vers.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elfvsb/elfvsb.exp ...
FAIL: ld-elfvsb/hidden2
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-elfweak/elfweak.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-fastcall/fastcall.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-frv/fdpic.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-frv/frv-elf.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-frv/tls.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-gc/gc.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-h8300/h8300.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/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
FAIL: Reloc section order
FAIL: --warn-shared-textrel --fatal-warnings
FAIL: ld-i386/hidden2
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-ia64/ia64.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-ia64/line.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-ifunc/binutils.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/ld/testsuite/ld-ifunc/ifunc.exp ...
FAIL: ld-ifunc/ifunc-1-local-x86
FAIL: ld-ifunc/ifunc-1-x86
FAIL: ld-ifunc/ifunc-2-local-x86-64
FAIL: ld-ifunc/ifunc-2-x86-64
FAIL: ld-ifunc/ifunc-3a-x86
FAIL: ld-scripts/empty-aligned
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 with global dynamic and descriptors
FAIL: ld-x86-64/hidden2
FAIL: ld-x86-64/protected3
                === ld Summary ===

# of expected passes            503
# of unexpected failures        27
# of expected failures          61


emerge --info =sys-devel/binutils-2.20
Portage 2.1.7.4 (default/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 10 Nov 2009 10:25:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ihug.co.nz/gentoo/"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv idn ipv6 mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd readline reflection session spl sqlite sse sse2 ssl sysfs tcpd 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 mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-11-11 06:00:25 UTC
[ebuild     U ] sys-devel/binutils-2.20 [2.18-r3] USE="nls test* -gold -multislot -multitarget -vanilla" 
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-11-11 06:05:00 UTC
Created attachment 209880 [details]
build.log
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-11-11 06:05:29 UTC
Created attachment 209882 [details]
environment
Comment 4 Martin Walch 2009-12-17 17:13:53 UTC
Same problem here with 2.20.

Trying stable binutils (2.18-r3) ends up even worse with a SIGSEGV when ld testing is being started.

$ emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================                                              
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-gentoo-2.0.0            
Timestamp of tree: Wed, 16 Dec 2009 08:45:02 +0000                                                             
ccache version 2.4 [enabled]                                                                                   
app-shells/bash:     4.0_p35                                                                                   
dev-java/java-config: 2.1.9-r1                                                                                 
dev-lang/python:     2.6.4                                                                                     
dev-python/pycrypto: 2.0.1-r8                                                                                  
dev-util/ccache:     2.4-r7                                                                                    
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fgcse-after-reload -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -fgcse-after-reload -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/layman/x11 /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage /usr/local/portage/worldforge"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi agg akode alsa amarok amd64 apache2 autoipd avahi bash-completion berkdb blender-game branding bzip2 cairo captury cdaudio cdr cdrom cegui cjk cli clucene consolekit cracklib crypt cups curl cviewer cxx daap dbus designer-plugin desktopglobe devil dga dirac djvu dri dts dvd dvdnav dvdr dxr3 eds emacs embedded emboss encode evo fam fbcon ffmpeg fftw firefox fits flac fltk fortran gallium gcj gdbm ggi git glibc-omitfp glitz gmm gopher gpg gpm gstreamer hal hdri htmlhandbook iceweasel iconv icu imagemagick insecure-savers ipv6 jabber jack java java5 java6 javascript jingle jpeg kde kde4 kdebuild kdecards kdehiddenvisibility kdepim kdm kontact ktts latex lcms ldap libcaca libnotify libwww lm_sensors logitech-mouse lua lzma matroska mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mpeg2 mpi mudflap mule multilib musepack mysql ncurses neon nepomuk networkmanager nio2 nls noamazon nova nptl nptlonly nsplugin offensive ogg ogg123 openal openexr opengl openmp oscar oss otr pam pcre pdf perl phonon plasma player png posix povray ppds pppd python qt3support qt4 readline redland reflection reiser4 reiserfs rss schroedinger sdl sdl-image semantic-desktop sensord session sndfile solver songs sound speex spell spl sse sse2 ssl startup-notification svg sysfs systemtap tcpd tetex theora threads thunar tidy tiff tk tools truetype type1 unicode usb vhook videos visualization vorbis wav wavpack wxwindows x264 xcomposite xemacs xine xml xorg xosd xprint xscreensaver xulrunner xv xvid zip 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Martin Walch 2009-12-17 19:20:21 UTC
I just tried it with USE="vanilla" and no test failed unexpected. So it is probably caused by something that a Gentoo patch does.
Comment 6 Yaroslav Isakov 2009-12-18 19:08:55 UTC
Same problem on my system
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.9_p20081201-r2, 2.6.32-gentoo x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-x86_64-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-gentoo-2.0.0
Timestamp of tree: Fri, 18 Dec 2009 03:00:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/home/media/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
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/layman/sunrise /usr/local/layman/roslin /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 ao bash-completion berkdb bzip2 cairo caps cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fontconfig fortran gd gdbm gmp gnome graphviz gstreamer gtk hal hddtemp iconv icu idn imagemagick jpeg jpeg2k kdehiddenvisibility lcms libffi libnotify libsamplerate lm_sensors logrotate lua lzma lzo mad matroska mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 readline reflection sdl session slang sndfile spamassassin spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb vorbis wavpack wxwidgets wxwindows x264 xcb xcomposite xml xorg xulrunner xv xvid 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 mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Patrick Lauer gentoo-dev 2010-01-01 21:37:04 UTC
:(
Comment 8 SpanKY gentoo-dev 2010-03-08 04:42:48 UTC
binutils-2.20-r1 and binutils-2.20.1 should pass all tests now.  if you hit a failure after syncing, file a new report.