Function multiversioning ABI issues
Florian Weimer
fweimer@redhat.com
Wed Oct 11 08:59:10 GMT 2023
* Andrew Carlotti via Gcc:
> I've also seen the GCC documentation for the ifunc attribute [1].
> This states that "the indirect function needs to be defined in the
> same translation unit as the resolver function". This is not how
> function multiversioning is currently implemented. Instead, the
> resolver functions are added to the translation units of every caller.
I don't see how this can happen. Do you have a declaration of the
resolver function in a shared header, by chance?
Thanks,
Florian
More information about the Gcc
mailing list