Package: freebsd-buildutils Version: 10.0-4 Severity: bug Tags: patch On the hppa arch we do not yet support the -fstack-protector compiler option, so it needs to be disabled on hppa too to avoid clashes with -Werror. Patch attached, please apply. Thanks, Helge
diff -up ./src/share/mk/bsd.sys.mk.org ./src/share/mk/bsd.sys.mk --- ./src/share/mk/bsd.sys.mk.org 2014-08-16 20:56:52.025352436 +0000 +++ ./src/share/mk/bsd.sys.mk 2014-08-16 21:38:20.827576802 +0000 @@ -123,11 +123,12 @@ CFLAGS+= -Qunused-arguments .endif # CLANG .if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \ - ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" + ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" && \ + ${MACHINE_CPUARCH} != "hppa" # Don't use -Wstack-protector as it breaks world with -Werror. SSP_CFLAGS?= -fstack-protector CFLAGS+= ${SSP_CFLAGS} -.endif # SSP && !IA64 && !ARM && !MIPS +.endif # SSP && !IA64 && !ARM && !MIPS && !HPPA # Allow user-specified additional warning flags CFLAGS+= ${CWARNFLAGS}