tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
maybe legacy patch (if not, b0rked specs on sunos)
Hi,
print/cups has the following
Makefile:
.if ${OPSYS} == "SunOS"
LIBS_SSP= -lssp_nonshared -lssp
CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q}
$NetBSD: patch-config-scripts_cups-compiler.m4,v 1.2 2015/12/02 21:14:16
leot Exp $
Some builds of gcc seem to support this for compiling but then fail
during
linking with undefined reference to `__stack_chk_fail_local'
If this is still needed, it is best solved with gcc specs
./gcc/gcc.c:#define LINK_SSP_SPEC
"%{fstack-protector|fstack-protector-all:-lssp_nonshared -lssp}"
(check with 'gcc -dumpspecs')
Then all -fstack-protector will DTRT.
Of course, it might be totally harmless legacy now.
Home |
Main Index |
Thread Index |
Old Index