Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Build failure (SSP)
Hi.
My amd64 build fails with:
echo "set solib-absolute-prefix /usr/obj/destdir.amd64" > .gdbinit
# compile mt/mt.o
/usr/tools/bin/x86_64--netbsd-gcc -O2 -fstack-protector -Wstack-protector
# --param ssp-buffer-size=1 -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 -Wsign-compare -std=gnu99 -Werror
# -- - - - -nostdinc -isystem /usr/obj/destdir.amd64/usr/include
# -- - - - - -D_FORTIFY_SOURCE=2 -c /usr/src/bin/mt/mt.c
In file included from /usr/obj/destdir.amd64/usr/include/unistd.h:74,
from /usr/src/bin/mt/mt.c:64:
/usr/obj/destdir.amd64/usr/include/ssp/unistd.h:39: error: static
declaration of 'rmtread' follows non-static declaration
/usr/obj/destdir.amd64/usr/include/rmt.h:35: error: previous declaration of
/ 'rmtread' was here
*** Failed target: mt.o
*** Failed command: /usr/tools/bin/x86_64--netbsd-gcc -O2 -fstack-protector
*** -Wstack-protector --param ssp-buffer-size=1 -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
*** - - - - -Wsign-compare -std=gnu99 -Werror -nostdinc -isystem
*** - - - - - /usr/obj/destdir.amd64/usr/include -D_FORTIFY_SOURCE=2 -c
*** - - - - - / /usr/src/bin/mt/mt.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/bin/mt
- Jukka.
Home |
Main Index |
Thread Index |
Old Index