This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [ADA] Fix bootstrap failure on mips64el-linux-gnuabi64


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]