Debug symbols are screwed for a "freestanding" app
Nick Clifton
nickc@redhat.com
Mon Jan 29 14:37:00 GMT 2018
Hi Anatol,
> It seems fine except that there are few "DW_FORM_strp offset too big" warnings.
>
> $ readelf -w foo.elf > /dev/null
> readelf: Warning: DW_FORM_strp offset too big: 5b6
This might be a binutils problem, or it could be a gcc problem. (Ie
it could be generating debug information with the wrong offsets).
Please could you file a bug report here:
https://sourceware.org/bugzilla/enter_bug.cgi
If you can include the assembler source file created by gcc,
the object file created by the assembler and the foo.elf binary
file as well, that would be a big help.
> My environment is Arch Linux with gcc 7.3.0 and binutils 2.29.1.
Binutils 2.30 has just been released, and might possibly contain a
fix for the problem.
Cheers
Nick
More information about the Binutils
mailing list