This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [ADA] Fix bootstrap failure on mips64el-linux-gnuabi64
On 13.03.2017 18:26, James Cowgill wrote:
> Hi,
>
> On 11/03/17 12:11, Arnaud Charlet wrote:
>>> This patch fixes an error caused by my changing of the signal constants
>>> on MIPS in r244026. While that patch worked on mipsel, ada fails to
>>> bootstrap with it on mips64el with the error:
>>>
>>> s-osinte.ads:610:07: component "sa_flags" overlaps "sa_handler" at
>>> line 608
>>> ../gcc-interface/Makefile:297: recipe for target 'a-dispat.o' failed
>>> make[9]: *** [a-dispat.o] Error 1
>>>
>>> The fix is to adjust the size of sa_flags in struct_sigaction from an
>>> unsigned long to an int. I checked the glibc sources and sa_flags is an
>>> int on all Linux arches.
>>
>> Patch is OK, thanks.
>
> Can you commit it for me?
I committed the patch.
Matthias
>>> gcc/ada/Changelog:
>>>
>>> 2017-03-10 James Cowgill <James.Cowgill@imgtec.com>
>>>
>>> * s-osinte-linux.ads (struct_sigaction): Use correct type for
>>> sa_flags.
>