[PATCH v2] ifuncmain9.c: Return EXIT_UNSUPPORTED for GCC 5.4 or older

Sam James sam@gentoo.org
Sat Dec 14 12:11:35 GMT 2024



> On 14 Dec 2024, at 12:01, H.J. Lu <hjl.tools@gmail.com> wrote:
> 
> On Sat, Dec 14, 2024 at 5:25 PM Sam James <sam@gentoo.org> wrote:
>> 
>> "H.J. Lu" <hjl.tools@gmail.com> writes:
>> 
>>> Since elf/ifuncmain9.c fails at run-time when compiled with GCC 5, return
>>> EXIT_UNSUPPORTED for GCC 5 or older.
>> 
>> It would be nice if you could guess which change fixed it but honestly,
> 
> It is
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81128
> 
> which is fixed in GCC 5.5.  Here is the v2 patch.
> 
>> ifunc is so niche that I'm not worried about it. I think users of ifunc
>> know they should use more modern toolchain versions.
>> 

Thanks, LGTM.
> 
> --
> H.J.
> <v2-0001-ifuncmain9.c-Return-EXIT_UNSUPPORTED-for-GCC-5.4-.patch>


More information about the Libc-alpha mailing list