Current-Users archive

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

pf/pf_table, stack smashing warning/error



Yes, I'm building w/ "USE_SSP=yes" in my /etc/mk.conf ...


#   compile  pf/pf_table.o
/usr/src/obj/tooldir.NetBSD-6.99.36-amd64/bin/x86_64--netbsd-gcc -O2
-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
-Werror   -ffreestanding -fstack-protector -Wst
ack-protector   --param ssp-buffer-size=1  -fno-strict-aliasing
-Wno-pointer-sign -mno-red-zone -mcmodel=kernel
-fno-omit-frame-pointer  -I/usr/src/common/include
--sysroot=/usr/src/obj/destdir.amd64 -I/usr/src/sys/dist/pf
-I/usr/src/sys -DINET6 -DINET -I/usr/src/common/include
-D_FORTIFY_SOURCE=2 -nostdinc -I. -I/usr/src/sys/modules/pf -isystem
/usr/src
/sys -isystem /usr/src/sys/arch -isystem
/usr/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE
-DSYSCTL_INCLUDE_DESCR -c    /usr/src/sys/dist/pf/net/pf_table.c
--- dependall-external ---
--- dependall-cc1obj ---
--- dependall-sys ---
--- dependall-puffs ---
dependall ===> sys/modules/puffs
--- dependall-external ---
/usr/src/external/gpl3/gcc/dist/gcc/objc/objc-act.c: In function
'tree_node* build_keyword_selector(tree)':
/usr/src/external/gpl3/gcc/dist/gcc/objc/objc-act.c:4719:1: error:
stack protector not protecting local variables: variable length buffer
[-Werror=stack-protector]
 build_keyword_selector (tree selector)
 ^

-- 
Brad Harder
Method Logic Digital Consulting


Home | Main Index | Thread Index | Old Index