https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069
Miklos Karacsony <mkaracsony81 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mkaracsony81 at gmail dot com --- Comment #27 from Miklos Karacsony <mkaracsony81 at gmail dot com> --- (In reply to Sergei Trofimovich from comment #26) > #c12 fixed elfutils case. That's not accurate. It's only fixed if you use the default "-O2" optimization level, but if you use "-Os" instead, you'll find that the bug is still present. I've managed to hit a similar bug while building glibc with "-Os" as well, but in that case adding "--disable-werror" helped. Sadly, elfutils' configure script does not respect that flag. I could just add "-Wno-error" into my cflags when building, but then doing this on a per package basis is cumbersome.