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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> (In reply to David Malcolm from comment #3)
> > 
> >   Reading symbols from
> > /home/dmalcolm/build/gcc/testsuite/jit4/jit-debuginfo.o...Dwarf Error: wrong
> > version in compilation unit header (is 5, should be 2, 3, or 4) [in module
> > /home/dmalcolm/build/gcc/testsuite/jit4/jit-debuginfo.o]
> > 
> > though I'm not sure if that's the cause of the error.
> 
> Those look depedenent on the binutils version that is in use. I suspect if
> there is a newer version of binutils installed, it would just work. Dwarf5
> was added to binutils version 2.35.2 . Though maybe it is finding the wrong
> readelf ...

Or rather it is gdb that is complaining and a newer gdb version is needed.

Reply via email to