[Top][All Lists]

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

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

From: Marco.Leise at gmx dot de
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: Tue, 10 Apr 2018 13:48:24 +0000


Marco Leise <Marco.Leise at gmx dot de> changed:

           What    |Removed                     |Added
                 CC|                            |Marco.Leise at gmx dot de

--- Comment #2 from Marco Leise <Marco.Leise at gmx dot de> ---
I have a similar Gentoo setup with binutils 2.29.1 and see the same errors.
Removing "compressdebug" from FEATURES during installation of glibc fixed the
problem for me.

>From the Gentoo documentation:

compressdebug: Compress the debug sections in the split debug files with zlib
to save space. Make sure you have built both binutils and gdb with USE=zlib
support for this to work. See splitdebug for general split debug information
(upon which this feature depends). 

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. In any case zlib is installed.
This was the patch that introduced "compressdebug" in Gentoo:
You can see the compiler/linker flags used to make it work.

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]