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
- From: Arnaud Charlet <charlet at adacore dot com>
- To: James Cowgill <James dot Cowgill at imgtec dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Arnaud Charlet <charlet at adacore dot com>
- Date: Sat, 11 Mar 2017 13:11:07 +0100
- Subject: Re: [PATCH] [ADA] Fix bootstrap failure on mips64el-linux-gnuabi64
- Authentication-results: sourceware.org; auth=none
- References: <ea8297da-d64e-f390-e968-d5d18c119c06@imgtec.com>
> 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.
> gcc/ada/Changelog:
>
> 2017-03-10 James Cowgill <James.Cowgill@imgtec.com>
>
> * s-osinte-linux.ads (struct_sigaction): Use correct type for
> sa_flags.