Fri Oct 14 16:02:35 2016 UTC ()
Disable aslr too since we are playing address space range tricks.


(christos)
diff -r1.7 -r1.8 src/tests/rump/modautoload/Makefile

cvs diff -r1.7 -r1.8 src/tests/rump/modautoload/Makefile (expand / switch to unified diff)

--- src/tests/rump/modautoload/Makefile 2016/09/10 11:04:24 1.7
+++ src/tests/rump/modautoload/Makefile 2016/10/14 16:02:35 1.8
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1# $NetBSD: Makefile,v 1.7 2016/09/10 11:04:24 christos Exp $ 1# $NetBSD: Makefile,v 1.8 2016/10/14 16:02:35 christos Exp $
2# 2#
3 3
4.include <bsd.init.mk> 4.include <bsd.init.mk>
5 5
6TESTSDIR= ${TESTSBASE}/rump/modautoload 6TESTSDIR= ${TESTSBASE}/rump/modautoload
7 7
8TESTS_C= t_modautoload 8TESTS_C= t_modautoload
9PAXCTL_FLAGS= +m 9PAXCTL_FLAGS= +ma
10 10
11SRCS.t_modautoload+= t_modautoload.c 11SRCS.t_modautoload+= t_modautoload.c
12 12
13# Note: we link the rump kernel into the application to make this work 13# Note: we link the rump kernel into the application to make this work
14# on amd64. This is the reason we keep this test in its own 14# on amd64. This is the reason we keep this test in its own
15# subdirectory -- otherwise the LDADD lines would get a little hairy. 15# subdirectory -- otherwise the LDADD lines would get a little hairy.
16LDFLAGS+= -Wl,-E 16LDFLAGS+= -Wl,-E
17LDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \ 17LDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \
18 ${DESTDIR}/usr/lib/librump.a \ 18 ${DESTDIR}/usr/lib/librump.a \
19 -Wl,--no-whole-archive 19 -Wl,--no-whole-archive
20LDADD+= -lrumpuser -lpthread 20LDADD+= -lrumpuser -lpthread
21DPADD+= ${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER} 21DPADD+= ${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER}
22 22