https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82718
--- Comment #5 from Mark Wielaard <mark at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #4) > Created attachment 42474 [details] > gcc8-pr82718.patch > > Untested fix. Works for me. elfutils builds with this patch and gcc -O2 -gdwarf-5.