https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (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 ...