bug-binutils
[Top][All Lists]
Advanced

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

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


From: nickc at redhat dot com
Subject: [Bug binutils/18616] oprofile fails with "BFD: Dwarf Error: found dwarf version '64617', this reader only handles version 2, 3 and 4 information"
Date: Wed, 11 Apr 2018 10:04:00 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18616

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Hi Marco,

> I have a similar Gentoo setup with binutils 2.29.1 and see the same errors.

This is surprising.

> The instructions seem outdated, as neither binutils nor gdb currently offer
> the "zlib" USE-flag. A USE-flag controls configuration options and
> dependencies of a package about to be compiled and installed on Gentoo.
> Maybe it is auto-detected now. 

Yes, it is.

I ran the debug files in the tarball you uploaded through objdump (which
uses the BFD library) and readelf (which does not) from the 2.29 binutils
release, and they were able to display the debug information without any
problems.  (Admittedly this was using the Fedora 27 binutils, not Gentoo).

I did not try using oprofile, but that is because I do not know how to use
it.  Do you have an example command line that I could try ?

Detection of compressed sections relies upon a special bit in the ELF 
section header flags (SHF_COMPRESSED).  Is it possible that oprofile is
somehow stripping this bit out, before calling the BFD routines ?

Cheers
  Nick

-- 
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]