[Bug debugedit/28728] Unknown DWARF DW_FORM_0x25 (DW_FORM_strx)

telans at posteo dot de sourceware-bugzilla@sourceware.org
Fri Feb 18 07:41:05 GMT 2022


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

James Beddek <telans at posteo dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |telans at posteo dot de

--- Comment #3 from James Beddek <telans at posteo dot de> ---
(In reply to Mark Wielaard from comment #2)
> (In reply to Vitaly Chikunov from comment #0)
> > When building Linux kernel with[1] CC=clang LLVM=1 and
> > CONFIG_DEBUG_INFO_DWARF5=y debugedit reports error when processing compiled
> > kernel modules, such as
> > 
> >   debugedit:
> > ./lib/modules/5.16.0+rc6.20211223-drm-tip-alt1/kernel/sound/usb/caiaq/snd-
> > usb-caiaq.ko: Unknown DWARF DW_FORM_0x25
> 
> That is DW_FORM_strx1, which is only partially supported by debugedit.
> Normally the DW_FORM_strx forms are only used when generating split DWARF
> (.dwo) files. Best workaround for now is to not use DWARF5 with llvm (which
> isn't the default for clang/llvm anyway).

DWARFv5 is now the default with the upcoming Clang 14.0.0 release:
https://github.com/llvm/llvm-project/blob/e80c52986e1bb3afa6a92c58b1cb897877923a66/clang/docs/ReleaseNotes.rst#dwarf-support-in-clang

At the moment debugedit warns for almost any binary compiled with Clang
14.0.0-rc1

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


More information about the Debugedit mailing list