Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf gcc can't compute the large initializer...



details:   https://anonhg.NetBSD.org/src/rev/8acabee03441
branches:  trunk
changeset: 345345:8acabee03441
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 20 16:40:40 2016 +0000

description:
gcc can't compute the large initializer in rpi_release_mem,
so disable stack protector.

diffstat:

 sys/arch/evbarm/conf/files.rpi |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f09304468a80 -r 8acabee03441 sys/arch/evbarm/conf/files.rpi
--- a/sys/arch/evbarm/conf/files.rpi    Fri May 20 13:54:34 2016 +0000
+++ b/sys/arch/evbarm/conf/files.rpi    Fri May 20 16:40:40 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.rpi,v 1.7 2014/10/03 11:40:54 skrll Exp $
+#      $NetBSD: files.rpi,v 1.8 2016/05/20 16:40:40 christos Exp $
 #
 # Raspberry Pi
 #
@@ -9,6 +9,7 @@
 
 file   arch/evbarm/rpi/rpi_machdep.c
 file   arch/evbarm/rpi/vcprop_subr.c
+makeoptions    "COPTS.vcprop_subr.c"+="-fno-stack-protector"
 
 # Kernel boot arguments
 defparam opt_machdep.h                         BOOT_ARGS



Home | Main Index | Thread Index | Old Index