This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries
- From: "meissner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Jun 2017 21:54:29 +0000
- Subject: [Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries
- Auto-submitted: auto-generated
- References: <bug-81193-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193
--- Comment #2 from Michael Meissner <meissner at gcc dot gnu.org> ---
One other possibility is to just remove the code that checks
TARGET_LIBC_PROVIDES_HWCAP_IN_TCB, given that when we use it there is a
reference to __parse_hwcap_and_convert_at_platform in the code. That won't be
satisified unless you have a new enough glibc.
Though it may be friendlier to warn the user if GCC wasn't configured to use
the newer glibc.