Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308805 - sys-devel/binutils-2.20.1 fails tests with dash as /bin/sh
Summary: sys-devel/binutils-2.20.1 fails tests with dash as /bin/sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/bugzilla/show_b...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-10 10:34 UTC by Alexis Ballier
Modified: 2012-10-24 23:13 UTC (History)
1 user (show)

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


Attachments
log (ld.log,1.14 MB, text/plain)
2010-03-10 14:39 UTC, Alexis Ballier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2010-03-10 10:34:40 UTC
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-bootstrap/bootstrap.exp ...
FAIL: bootstrap
FAIL: bootstrap with strip
FAIL: bootstrap with --traditional-format
FAIL: bootstrap with --no-keep-memory
FAIL: bootstrap with --relax
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-cdtest/cdtest.exp ...
FAIL: cdtest
FAIL: cdtest with -Ur
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-checks/checks.exp ...
[...]
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-elf/dwarf.exp ...
FAIL: Run with libdwarf1.so first
FAIL: Run with libdwarf1.so last
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-elf/eh-group.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-elf/elf.exp ...
FAIL: preinit array
FAIL: init array
FAIL: fini array
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-elf/exclude.exp ...
[...]
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-elf/shared.exp ...
FAIL: Run normal with libfoo.so
FAIL: Run protected with libfoo.so
FAIL: Run hidden with libfoo.so
FAIL: Run normal with versioned libfoo.so
FAIL: Run warn with versioned libfoo.so
FAIL: Run protected with versioned libfoo.so
FAIL: Run hidden with versioned libfoo.so
FAIL: Run normal libbar.so with libfoo.so
FAIL: Run protected libbar.so with libfoo.so
FAIL: Run hidden libbar.so with libfoo.so
FAIL: Run normal libbar.so with versioned libfoo.so
FAIL: Run protected libbar.so with versioned libfoo.so
FAIL: Run hidden libbar.so with versioned libfoo.so
FAIL: Run dl1a with --dynamic-list=dl1.list and dlopen on libdl1.so
FAIL: Run dl1b with --dynamic-list-data and dlopen on libdl1.so
FAIL: Run with libdl2a.so
FAIL: Run with libdl2b.so
FAIL: Run with libdl2c.so
FAIL: Run with libdl4a.so
FAIL: Run with libdl4b.so
FAIL: Run with libdl4c.so
FAIL: Run with libdl4d.so
FAIL: Run with libdl4e.so
FAIL: Run with libdl4f.so
FAIL: Run dl6a1 with --dynamic-list-data and dlopen on libdl6a.so
FAIL: Run dl6a2 with -Bsymbolic-functions and dlopen on libdl6a.so
FAIL: Run dl6a3 with -Bsymbolic and dlopen on libdl6a.so
FAIL: Run dl6a4 with -Bsymbolic --dynamic-list-data and dlopen on libdl6a.so
FAIL: Run dl6a5 with -Bsymbolic-functions --dynamic-list-cpp-new and dlopen on libdl6a.so
FAIL: Run dl6a6 with --dynamic-list-cpp-new -Bsymbolic-functions and dlopen on libdl6a.so
FAIL: Run dl6a7 with --dynamic-list-data -Bsymbolic and dlopen on libdl6a.so
FAIL: Run dl6b1 with --dynamic-list-data and dlopen on libdl6b.so
FAIL: Run dl6b2 with dlopen on libdl6b.so
FAIL: Run dl6c1 with --dynamic-list-data and dlopen on libdl6c.so
FAIL: Run dl6d1 with --dynamic-list-data and dlopen on libdl6d.so
FAIL: Run with libdata1.so
FAIL: Run with libfunc1.so comm1.o
FAIL: Run with comm1.o libfunc1.so
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-elf/tls_common.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-elf/wrap.exp ...
FAIL: Run with libwrap1a.so and libwrap1b.so
FAIL: Run with libwrap1b.so and libwrap1a.so
Running /var/tmp/portage/sys-devel/binutils-2.20.1/work/binutils-2.20.1/ld/testsuite/ld-elfcomm/elfcomm.exp ...
[...]
		=== ld Summary ===

# of expected passes		477
# of unexpected failures	52
# of expected failures		61
/var/tmp/portage/sys-devel/binutils-2.20.1/work/build/ld/ld-new 2.20.1.20100303


 emerge --info --ignore-default-opts
Portage 2.2_rc67 (default/linux/amd64/10.0/developer, gcc-4.4.3, glibc-2.11-r1, 2.6.33 x86_64)
=================================================================
System uname: Linux-2.6.33-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -mssse3 -msse4.1 -g -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -mssse3 -msse4.1 -g -ggdb"
DISTDIR="/share/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --verbose --keep-going"
FEATURES="assume-digests buildpkg buildsyspkg collision-protect cvs distcc distlocks fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en fr en_US"
MAKEOPTS="-j8"
PKGDIR="/share/gentoo/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_cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage /share/overlay /var/lib/layman/x11"
SYNC="cvs://aballier@cvs.gentoo.org:/var/cvsroot"
USE="X a52 aac aalib acpi alsa amd64 amr amrnb amrwb apache2 aspell audiofile bash-completion berkdb bidi bluetooth bzip2 cairo caps cdaudio cdda cddb cdio cdparanoia cdr cegui chardet cjk cli clisp consolekit cpufreq cracklib crypt css cups curl custom-cxxflags cvs cxx dbus devil dga dirac djvu doc dri dssi dts dv dvb dvd dvdr dvi emboss enca encode evo exif expat faac faad fam fame fbcon fbcondecor ffmpeg fftw firefox flac fluidsynth fontconfig fontforge fortran gd gdbm gif glep glib glitz glsa glut gmp gnomecanvas gnutls gpac gpg gpm graphviz gs gtk hal hddtemp icecast iconv icu id3tag ieee1394 imagemagick imap imlib ipv6 ithreads jack javascript jbig jpeg jpeg2k kdehiddenvisibility kpathsea ladspa lame lapack lash latex lcms libcaca libnotify libsamplerate live lm_sensors lua lv2 lzma lzo mad matroska mbox md5sum midi mikmod mjpeg mmx mmxext mng modplug modules motif mp2 mp3 mp4 mpeg mudflap multilib musepack musicbrainz mysql ncurses network nls nntp nodrm nptl nptlonly nsplugin ocaml offensive ogg ogm openexr opengl openmp pam pcre pdf perl pgf png pnm pop portaudio postgres ppds pppd projectm pstricks python qa qt3support qt4 quicktime radio rar readline reflection rle rtc rtsp rubberband ruby schroedinger scrobbler sdl session shorten shout slang smp smtp sndfile snmp soundtouch sox speex spell spl sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs t1lib taglib tcl tcpd teletext test tga theora threads threadsafe thunar tiff timidity tk truetype tse3 tta twolame unicode usb v4l v4l2 vamp vcd vim-syntax visibility vorbis wavpack wma wmf wxwidgets wxwindows x264 xcb xcomposite xft xine xml xorg xpm xspf xulrunner xv xvid xvmc zlib zvbi" 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" DVB_CARDS="usb-umt usb-dib0700 dibusb-usb2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr en_US" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd ati" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2010-03-10 12:36:36 UTC
i dont see any of these failures.  please re-do your tests with sane LDFLAGS/CFLAGS first.
Comment 2 Alexis Ballier gentoo-dev 2010-03-10 13:14:13 UTC
(In reply to comment #1)
> i dont see any of these failures.  please re-do your tests with sane
> LDFLAGS/CFLAGS first.

???
which flag is insane?

CXXFLAGS="-O2 -g" CFLAGS="-O2 -g" LDFLAGS="" emerge -1 sys-devel/binutils -> same result
Comment 3 SpanKY gentoo-dev 2010-03-10 14:02:24 UTC
the summary output is not terribly useful.  you need to post the actual ld.log file from the build dir that contains all the in-depth test info.  as an attachment of course.
Comment 4 Alexis Ballier gentoo-dev 2010-03-10 14:39:35 UTC
Created attachment 222985 [details]
log
Comment 5 Alexis Ballier gentoo-dev 2010-03-10 14:47:32 UTC
my /bin/sh is dash, if I change it back to bash the tests pass
Comment 6 Myckel Habets 2010-05-05 05:28:57 UTC
Upstream seems to be working on it:

http://sourceware.org/bugzilla/show_bug.cgi?id=11426
Comment 7 SpanKY gentoo-dev 2010-05-05 07:42:09 UTC
thanks.  since it doesnt seem to be a regression, i wont let it block stabilization of a newer version.

once things get sorted out in unstable, i may backport to stable
Comment 8 SpanKY gentoo-dev 2012-10-24 23:13:49 UTC
it's my understanding that this should be fixed in at least 2.22