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

[Bug default/24345] Dwz invalidates debug sections generated by --emit-relocs



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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
I'm not sure how this should be addressed.

Refusing to optimize when finding debug .rela sections would fix this, but it
would also hurt linux kernel debug info compression, so that's probably not a
good idea.

I suppose ideally, we'd update the .rela sections (see also PR24344).

For now, we could drop the .rela sections, since they're broken.

At the very least, we have to emit a warning letting the user know that debug
.rela sections are broken.

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