[PATCH] avoid ifunc warnings in libatomic configure

Martin Sebor msebor@gmail.com
Mon Oct 2 23:59:00 GMT 2017


On 10/02/2017 05:29 PM, Steve Ellcey wrote:
> On Mon, 2017-10-02 at 17:00 -0600, Martin Sebor wrote:
>> The attached patch tweaks the configuration check for attribute
>> ifunc support in libatomic to avoid the new type safety warnings.
>> It also changes the libatomic declarations of ifunc resolvers to
>> avoid the new warnings.  With it conftest.c compiles successfully
>> (see below) as does libatomic, and no there are regressions in
>> tests on x86_64.  Does it look good to check in?
>>
>> I haven't been paying close attention so if Steve or someone else
>> already submitted a patch with the libatomic_i.h changes I can take
>> mine out.
>>
>> Martin
>
> I haven't submitted anything for this problem.  This patch fixed things
> for my aarch64 build.  I definitely needed the libatomic_i.h changes as
> well as the configure change.

Great, thank you for verifying it there!  I just committed it
in r253372.

Martin



More information about the Gcc-patches mailing list