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

--- Comment #28 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
(In reply to Miklos Karacsony from comment #27)
> (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.

I was not able to reproduce -Os build failure on elfutils-0.189. Can you
extract an example from the case you see?

Reply via email to