This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/77894] Enable GNU indirect function support by default as it will be used in glibc.
- From: "fw at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Oct 2016 10:27:57 +0000
- Subject: [Bug target/77894] Enable GNU indirect function support by default as it will be used in glibc.
- Auto-submitted: auto-generated
- References: <bug-77894-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77894
--- Comment #2 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to nsz from comment #1)
> the ifunc abi still has many problems and i don't think it's possible to
> detect
> dynamic linker support for cross compilation so if it is enabled do it only
> if
> the default libc is glibc (e.g. on linux musl, bionic and uclibc does not
> plan to implement it).
Will GCC generate IFUNCs although the attribute is never used?
If it is harmless to enable it, I'd suggest to do so unconditionally, so that
people can cross-build glibc on any Linux system using the system compiler.