[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

ardb at kernel dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 20 18:13:09 GMT 2025


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

--- Comment #28 from Ard Biesheuvel <ardb at kernel dot org> ---
(In reply to Franz Sirl from comment #27)
> Maybe silly question, but since the changelog is only talking about
> __fentry__, why couldn't you make the decision based on flag_fentry?

Sadly, I don't think we can make a meaningful distinction based on that. This
is really about using the GOT and/or PLT in a way that matches the behavior
that may be expected from -fPIC codegen.


More information about the Gcc-bugs mailing list