Building libgccjit with -fno-semantic-interposition? ( was Re: 1.76% performance loss in VRP due to inlining)

Sam James sam@gentoo.org
Mon Jun 10 10:59:39 GMT 2024


Andrea Corallo via Gcc <gcc@gcc.gnu.org> writes:

>> FWIW I've no idea if any libgccjit users are using semantic
>> interposition; I suspect the answer is "no one is using it".
>> 
>> Antoyo, Andrea [also CCed]: are either of you using semantic
>> interposition of symbols within libgccjit?
>
> Hi David,
>
> AFAIU in Emacs we are not relying on interposition of symbols.

FWIW, I've built GCC (inc. libgccjit for Emacs) with
-fno-semantic-interposition for a few years now and had no issues.

It's worth considering, I think, given the above.

>
> Thanks
>
>   Andrea


More information about the Jit mailing list