https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886
--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Thiago Macieira from comment #7) > You're not accounting for loss of performance in the shared libraries that > can't use -Bsymbolic due to the copy relocations, both at load-time > (relocations by name) and at runtime (indirect addressing to local symbols). > Maybe our experiences with shared libraries isn't the same: mine is that > libraries are 10x bigger and more complex than the applications using them. > > So I submit that your benchmarks are incomplete. The keyword here is psABI compliant. Since your shared library isn't psABI compliant, all bets are off.