Skip to content

Instantly share code, notes, and snippets.

@drscream
Created March 12, 2016 08:16
Show Gist options
  • Save drscream/26a919a0dda940720db0 to your computer and use it in GitHub Desktop.
Save drscream/26a919a0dda940720db0 to your computer and use it in GitHub Desktop.
/data/build/edgebsd-src/obj/tooldir.NetBSD-6.1.5-amd64/bin/armv7--netbsdelf-eabihf-gcc -O2 -fPIC -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=/data/build/edgebsd-src/obj/destdir.evbarm -D_KMEMUSER -I/data/build/edgebsd-src/sys -Wp,-iremap,/data/build/edgebsd-src:/usr/src -Wp,-iremap,/data/build/edgebsd-src/obj/destdir.evbarm/:/ -Wp,-iremap,/usr/xsrc:/usr/xsrc -D_FORTIFY_SOURCE=2 -c -Wno-format-nonliteral /data/build/edgebsd-src/usr.bin/vmstat/vmstat.c
/data/build/edgebsd-src/usr.bin/vmstat/vmstat.c: In function 'dopoolcache':
/data/build/edgebsd-src/usr.bin/vmstat/vmstat.c:1715:1: error: stack protector not protecting local variables: variable length buffer [-Werror=stack-protector]
dopoolcache(int verbose)
^
cc1: all warnings being treated as errors
*** Failed target: vmstat.o
*** Failed command: /data/build/edgebsd-src/obj/tooldir.NetBSD-6.1.5-amd64/bin/armv7--netbsdelf-eabihf-gcc -O2 -fPIC -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=/data/build/edgebsd-src/obj/destdir.evbarm -D_KMEMUSER -I/data/build/edgebsd-src/sys -Wp,-iremap,/data/build/edgebsd-src:/usr/src -Wp,-iremap,/data/build/edgebsd-src/obj/destdir.evbarm/:/ -Wp,-iremap,/usr/xsrc:/usr/xsrc -D_FORTIFY_SOURCE=2 -c -Wno-format-nonliteral /data/build/edgebsd-src/usr.bin/vmstat/vmstat.c
*** Error code 1
Stop.
nbmake[7]: stopped in /data/build/edgebsd-src/usr.bin/vmstat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment