tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ABI issues with gcc



Does the test program in the gcc PR reproduce the issue?
Sorry I am not next to a machine, otherwise I would test myself.

christos

> On Jan 23, 2014, at 3:16 PM, Martin Husemann <martin%duskware.de@localhost> 
> wrote:
> 
>> On Thu, Jan 23, 2014 at 01:57:52PM -0500, Christos Zoulas wrote:
>> The vax case might be different. I have not looked into it in great detail.
> 
> I tried today with gcc-4-8 from a week or so ago (what is in our 4.8
> to-be-in-tree repo) and it shows the warning for vax:
> 
> #   compile  routed/if.o
> /usr/tools/bin/vax--netbsdelf-gcc -O1 -fgcse -fstrength-reduce 
> -fgcse-after-reload -pipe -fstack-protector -Wstack-protector   --param 
> ssp-buffer-size=1  -std=gnu99  -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wpointer-arith -Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings 
> -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra 
> -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare 
> -Wformat=2  -Wno-format-zero-length  -Werror    --sysroot=/hosts/vax  
> -D_FORTIFY_SOURCE=2 -c    /usr/src/sbin/routed/if.c
> /usr/src/sbin/routed/if.c: In function 'ifinit':
> /usr/src/sbin/routed/if.c:680:1: error: stack protector not protecting local 
> variables: variable length buffer [-Werror=stack-protector]
> ifinit(void)
> ^
> cc1: all warnings being treated as errors
> 
> 
> Martin


Home | Main Index | Thread Index | Old Index