This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debug symbols are screwed for a "freestanding" app


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]