[PATCH] Add --enable-default-semantic-interposition to GCC configure

Jakub Jelinek jakub@redhat.com
Mon Jun 7 18:13:21 GMT 2021

On Mon, Jun 07, 2021 at 12:01:55PM -0600, Jeff Law via Gcc-patches wrote:
> > This breaks assumptions across the board.  If software packages want
> > to use -fno-semantic-interposition that is one thing.  But distros
> > should not be changing the default.  This is just like using
> > -ffast-math :).
> Some distros already force immediate binding at link time for security
> purposes on a distro-wide basis which, IIUC, does the same thing, but
> without the benefits from a code generation standpoint.

If you are talking about -Wl,-z,now, that is very different, semantic
interposition then still works just fine.
If you are talking about the glibc style by hand "protected" visibility,
bind calls to symbols defined in the same library through internal symbols,
then that is done only for a couple of packages and is stronger than


More information about the Gcc-patches mailing list