Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377873 - sys-devel/binutils (up to 2.21.53.0.2): BFD can't handle ET_REL objects built with -gdwarf-4
Summary: sys-devel/binutils (up to 2.21.53.0.2): BFD can't handle ET_REL objects built...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 11:36 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2015-05-25 05:50 UTC (History)
0 users

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


Attachments
Build log (postgresql-server-8.4.8-r2:20110805-112823.log,46.31 KB, text/plain)
2011-08-05 11:36 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-05 11:36:16 UTC
Created attachment 282187 [details]
Build log

Portage 2.2.0_alpha50 (hardened/linux/amd64, gcc-4.6.1-asneeded, glibc-2.13-r4, 3.0.0 x86_64)
=================================================================
System uname: Linux-3.0.0-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.3
Timestamp of tree: Fri, 05 Aug 2011 08:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.5 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.52.0.2
sys-devel/gcc:            4.6.1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo crossdev x11 emacs java-overlay enlightenment sunrise flameeyes-overlay ruby java-experimental constanze
Installed sets: @lscube-devel, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-prerelease-jdk6 sun-bcla-java-vm AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -ftracer -pipe -ftree-vectorize -gdwarf-4 -g -ggdb -Wstrict-aliasing=2 -Wno-format-zero-length -Wformat=2 -Wno-error -Wno-pointer-sign -fdiagnostics-show-option"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /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"
CXXFLAGS="-march=native -O2 -ftracer -pipe -ftree-vectorize -gdwarf-4 -g -ggdb -Wno-error -Wformat=2 -Wstrict-aliasing=2 -fvisibility-inlines-hidden"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=n"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fail-clean fixlafiles fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=native -O2 -ftracer -pipe -ftree-vectorize -g -ggdb -gdwarf-4"
GENTOO_MIRRORS="http://gentoo.wheel.sk/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en it"
MAKEOPTS="-j12 -s"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
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 --exclude=ChangeLog"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/media/repos/portage/yamato"
PORTDIR_OVERLAY="/var/spool/portage/overlays/cross /var/lib/layman/x11 /var/lib/layman/emacs /var/lib/layman/java-overlay /var/lib/layman/enlightenment /var/lib/layman/sunrise /media/repos/flame/flame-overlay /media/repos/flame/gentoo/overlays/ruby /var/spool/portage/overlays/java-experimental /media/repos/flame/git/GSoC2010_Gentoo_Capabilities/overlay"
SYNC="rsync://localhost/gentoo-portage"
USE="3dnow 3dnowex 3dnowext S3TC a52 aac acl acpi4linux alsa amd64 apm audiofile avahi avi bluetooth brasero bzip2 bzlib caps cdr cjk cli crypt css cups custom-cflags custom-cxxflags cxx dbus dlloader dnd dpms dri dts dvd dvdr emacs emboss fame ffmpeg filecaps flac foomaticdb gif gmp gnome gnome-keyring gnutls gpgme gphoto2 gtk gtk2 hardened idn ieee1394 imlib imlib2 inotify ipv6 ithreads java5 java6 jpeg justify kdehiddenvisibility latex lm_sensors lx700 lzw lzw-tiff maildir matroska midi mmx mmx2 mmxext mng modules mozsvg mp3 mpeg mpeg4 mpm-threadpool mudflap multilib native network-cron nls no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nodrm nojdepend nojsch nojython nolog4j nomotif nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin ogg oggvorbis openmp pam pdf pdflib pic pmount png ppds pppd qemu-fast rtc session smp snmp speex spell sse sse2 ssl ssse3 stencil-buffer subversion svg svgz sysfs syslog tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev uncompressed-sounds unicode usb userlocales utf8 v4l v4l2 vhosts vorbis wxwindows x11vnc xcb xcomposite xorg xpm xv xvid zeroconf zlib zsh-completion zvbi" ALSA_CARDS="hda-intel usb-audio mpu401 ice1712" ALSA_PCM_PLUGINS="iec958 plug ioplug hooks empty route asym softvol extplug" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user cache dav dav_fs dav_lock deflate dir env expires ext_filter filter headers include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias reqtimeout" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 jruby ree18" SANE_BACKENDS="snapscan" USERLAND="GNU" 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-28 14:59:43 UTC
Okay I hit the same problem with lvm2 and /usr/lib/libudev.a
Trying to debug the issue now but it looks like a toolchain one.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-28 15:41:48 UTC
Grr this is getting funky:

% ar x /usr/lib/libltdl.a
% nm dlopen.o 
nm: dlopen.o: Bad value

% ruby ~/devel/repos/git/ruby-elf/tools/nm.rb dlopen.o 
0000000000000000 t vl_exit
0000000000000000 b vtable
0000000000000040 t vm_sym
00000000000000a0 t vm_close
0000000000000100 t vm_open
0000000000000000 r .LC0
Unknown NM code for symbol wt.2e36542536402b38 in section .group
0000000000000000 ? wt.2e36542536402b38
Unknown NM code for symbol wt.1af52e75450527ed in section .group
0000000000000000 ? wt.1af52e75450527ed
Unknown NM code for symbol wt.90e079bbb773abcb in section .group
0000000000000000 ? wt.90e079bbb773abcb
Unknown NM code for symbol wt.442ae951f162d46e in section .group
0000000000000000 ? wt.442ae951f162d46e
Unknown NM code for symbol wt.ac43b6ac10ce5688 in section .group
0000000000000000 ? wt.ac43b6ac10ce5688
Unknown NM code for symbol wt.32ec40f73319dfa8 in section .group
0000000000000000 ? wt.32ec40f73319dfa8
                 U _GLOBAL_OFFSET_TABLE_
                 U __stack_chk_fail
                 U dlsym
                 U dlerror
                 U lt__set_last_error
                 U dlclose
                 U dlopen
00000000000001a0 T dlopen_LTX_get_vtable
                 U lt__zalloc
                 U lt__error_string
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-28 16:00:48 UTC
The "wt." symbols are generated when using -gdwarf-4. Basically binutils can't yet manage that. Lovely.
Comment 4 SpanKY gentoo-dev 2011-08-29 05:24:21 UTC
these types of bugs really should be filed upstream.  not like we're going to do any development on the issue ourselves, or backport patches.

http://sourceware.org/bugzilla/
Comment 5 SpanKY gentoo-dev 2015-05-25 05:50:15 UTC
i think this is fixed now by virtue of using a newer version of binutils