re: CVS commit: src/share/mk
"Christos Zoulas" writes: > Module Name: src > Committed By: christos > Date: Sun Aug 28 14:22:35 UTC 2016 > > Modified Files: > src/share/mk: bsd.own.mk > > Log Message: > Turn on PIE for all arm and sh3 this breaks earmv4 builds. the patch below "fixes" that for me. .mrg. Index: bsd.own.mk === RCS file: /cvsroot/src/share/mk/bsd.own.mk,v retrieving revision 1.948 diff -p -u -r1.948 bsd.own.mk --- bsd.own.mk 28 Aug 2016 14:22:35 - 1.948 +++ bsd.own.mk 30 Aug 2016 03:46:51 - @@ -1075,7 +1075,7 @@ MKCTF?= yes # .if ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "x86_64" || \ -${MACHINE_CPU} == "arm" || \ +(${MACHINE_CPU} == "arm" && empty(MACHINE_ARCH:M*armv4*)) || \ ${MACHINE_CPU} == "sh3" || \ ${MACHINE} == "sparc64" MKPIE?=yes
Re: CVS commit: src/sys/arch/landisk/conf
On Sun, Aug 28, 2016 at 10:23:00 -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sun Aug 28 14:23:00 UTC 2016 > > Modified Files: > src/sys/arch/landisk/conf: GENERIC > > Log Message: > Turn on ASLR/MPROTECT It doesn't actually enable aslr, since sh3 doesn't use topdown VM, so the check for EXEC_32|EXEC_TOPDOWN_VM is always false. -uwe