[Bug debug/98875] DWARF5 as default causes perf probe to hang

mark at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 18 19:28:47 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98875

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at gcc dot gnu.org

--- Comment #2 from Mark Wielaard <mark at gcc dot gnu.org> ---
I didn't realize this was also posted as a bug. There was some discussion on
the gcc-patches mailinglist here:
https://gcc.gnu.org/pipermail/gcc-patches/2021-January/thread.html#564485

The conclusion was that this was simply because of some ancient installation of
elfutils/libdw (0.168, which is from before the DWARF5 spec was released). Make
sure you have elfutils libdw version 0.172 or newer when dealing with DWARF5.
Latest elfutils release is 0.183.

I believe this issue can be closed, or are there any other issues with perf?


More information about the Gcc-bugs mailing list