[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/18616] New: oprofile fails with "BFD: Dwarf Error: found d

From: daniel.santos at pobox dot com
Subject: [Bug binutils/18616] New: oprofile fails with "BFD: Dwarf Error: found dwarf version '64617', this reader only handles version 2, 3 and 4 information"
Date: Wed, 01 Jul 2015 05:23:02 +0000


            Bug ID: 18616
           Summary: oprofile fails with "BFD: Dwarf Error: found dwarf
                    version '64617', this reader only handles version 2, 3
                    and 4 information"
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: daniel.santos at pobox dot com
  Target Milestone: ---

This is on gentoo where I've built most of my system with -flto and
importantly,the FEATURES="compressdebug splitdebug". My guess is that for some
reason bdf_openr is failing to realize that the debug file is compressed, as
the purported dwarf version is different for each type I get this error (which
appears to be for every object file involved). For the session in question,
there I get this error running "opannotate --source 350,225" times and the
version ranges from 0 to 65535, so I presume this is just a two byte field to
which it's picking from compressed data w/o decompressing it (so the struct is
just crap).

I had similar errors previously attempting to merge packages with -flto until I
learned that you can tell portage to use the gcc wrappers for ar, ranlib and nm


I have this error on two different machines with gentoo built similarly, so I'm
not sure what isn't happening in binutils for it to fail, but I presume that
this isn't oprofile.

# emerge --info sys-devel/binutils dev-util/oprofile
!!! Repository 'sunrise' has sync-uri attribute, but is missing sync-type
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde,
gcc-4.9.2, glibc-2.20-r2, 3.17.8-gentoo-r1 x86_64)
                         System Settings
System uname:
KiB Mem:     4043108 total,   1668760 free
KiB Swap:    4194300 total,   3845300 free
Timestamp of repository gentoo: Sat, 06 Jun 2015 19:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.1-r1::gentoo
dev-util/cmake:           3.2.1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo,
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

    location: /usr/local/portage
    masters: gentoo
    priority: 0

    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

    location: /var/lib/layman/rion
    masters: gentoo
    priority: 50

    location: /var/lib/layman/sunrise
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

    location: /var/lib/layman/zugaina
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* address@hidden cadsoft"
CFLAGS="-O2 -g -pipe -march=native -mtune=native -flto"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config
CONFIG_PROTECT_MASK="/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/terminfo"
CXXFLAGS="-O2 -g -pipe -march=native -mtune=native -flto"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy cgroup compress-build-logs
compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles
installsources merge-sync news parallel-fetch preserve-libs protect-owned
sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
USE="7zip X a52 aac aacplus aacs acl acpi aio alsa amd64 apache2 bazaar berkdb
bindist bluetooth bluray branding bs2b bzip2 cairo cdda cddb cdio cdr celt
clang cli consolekit cracklib crypt cups custom-cflags cvs cxx dbus declarative
designer development dirac directfb dot dri dts dvd dvdr emboss encode exif
extraengine faac fam ffmpeg fftw firefox flac fluidsynth fontconfig fortran
frei0r games gcj gdbm gif git glamor gme gnutls gphoto2 gpm graphviz gsm
gstreamer gtk gtk3 hardened highlight iconv ipv6 java jpeg jpeg2k kate kde
kdrive kipi ladspa lame lcms ldap libass libcaca libnotify libsamplerate libv4l
lto lua lzma lzo mad matroska md5sum mercurial midi mmx mmxext mng modules mp3
mp4 mpeg mtp mudflap multicall multilib multitarget musepack natspec ncurses
networkmanager nls nptl nsplugin objc objc++ objc-gc offensive ogg okteta omr
openal opencl opengl openmp opus pam pango pch pcre pdf perl phonon plasma
playlist png policykit postproc ppds projectm qt3support qt4 qthelp quvi rar
readline reviewboard rfc3779 sasl scanner schroedinger sdl seccomp
semantic-desktop session sid smp speex spell sqlite sqlite3 sse sse2 ssh ssl
startup-notification static-libs subversion svg syslog taglib tcpd theora
threads thumbnail tiff tk tools tremor truetype twolame udev udisks unicode
upnp upnp-av upower usb utils v4l vaapi vcdx vdpau vim-syntax vlc vorbis vpx
wavpack webkit webp wifi wxwidgets x264 x265 xattr xcb xcomposite xft xine
xinerama xml xrandr xscreensaver xv xvid xvmc zeroconf zlib zvbi" ABI_X86="64
32" ALSA_CARDS="hda-intel" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df
interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse
sse2 sse3 ssse3 sse4_1" CURL_SSL="gnutls" ELIBC="glibc"
FOO2ZJS_DEVICES="hpp1006" 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 ublox ubx"
GRUB_PLATFORMS="multiboot pc qemu" INPUT_DEVICES="evdev keyboard mouse joystick
wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
presenter-minimizer" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice"
python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="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"

                        Package Settings

sys-devel/binutils-2.25::gentoo was built with the following:
USE="cxx multitarget nls (policykit) static-libs zlib (-multislot) -test
-vanilla" ABI_X86="64"
CFLAGS="-O2 -ggdb -pipe -march=core2 -mtune=core2"
CXXFLAGS="-O2 -ggdb -pipe -march=core2 -mtune=core2"

dev-util/oprofile-1.0.0-r1::gentoo was built with the following:
USE="java pch" ABI_X86="64"
CFLAGS="-O2 -ggdb -pipe -march=core2 -mtune=core2 -mcx16 -msahf -msse4.1 -mfxsr
--param l1-cache-size=32 --param l1-cache-line-size=64 --param
CXXFLAGS="-O2 -ggdb -pipe -march=core2 -mtune=core2 -mcx16 -msahf -msse4.1
-mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]