Register syms.extra in LLVM sanitizer .syms files syms.extra contain additional content that has to be shipped with these .syms files. At least libFuzzer requires the .syms files to be in order.diff -r1.2 -r1.3 src/external/bsd/compiler_rt/lib/clang/lib/netbsd/syms.mk
(kamil)
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/syms.mk 2019/08/26 04:49:45 1.2
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/syms.mk 2019/08/30 23:36:40 1.3
@@ -1,11 +1,12 @@ | @@ -1,11 +1,12 @@ | |||
1 | # $NetBSD: syms.mk,v 1.2 2019/08/26 04:49:45 kamil Exp $ | 1 | # $NetBSD: syms.mk,v 1.3 2019/08/30 23:36:40 kamil Exp $ | |
2 | 2 | |||
3 | here := ${.PARSEDIR} | 3 | here := ${.PARSEDIR} | |
4 | 4 | |||
5 | .SUFFIXES: .a .a.syms | 5 | .SUFFIXES: .a .a.syms | |
6 | .a.a.syms: | 6 | .a.a.syms: | |
7 | ${_MKTARGET_CREATE} | 7 | ${_MKTARGET_CREATE} | |
8 | NM=${NM:Q} AWK=${TOOL_AWK:Q} FILE=${TOOL_MKMAGIC:Q} \ | 8 | NM=${NM:Q} AWK=${TOOL_AWK:Q} FILE=${TOOL_MKMAGIC:Q} \ | |
9 | ${HOST_SH} \ | 9 | ${HOST_SH} \ | |
10 | ${here}/gen_dynamic_list.sh \ | 10 | ${here}/gen_dynamic_list.sh \ | |
11 | --extra ${SYMS_EXTRA:Q} \ | |||
11 | ${.IMPSRC} > ${.TARGET} | 12 | ${.IMPSRC} > ${.TARGET} |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile 2019/08/27 22:48:54 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile 2019/08/30 23:36:40 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:54 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:40 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.asan-x86_64 | 12 | LIB= libclang_rt.asan-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/interception | 14 | .PATH: ${TOPDIR}/lib/interception | |
@@ -45,21 +45,22 @@ MKDEBUGLIB= no | @@ -45,21 +45,22 @@ MKDEBUGLIB= no | |||
45 | MKLINT= no | 45 | MKLINT= no | |
46 | MKPICINSTALL= no | 46 | MKPICINSTALL= no | |
47 | MKPROFILE= no | 47 | MKPROFILE= no | |
48 | MKSTATICLIB= yes | 48 | MKSTATICLIB= yes | |
49 | 49 | |||
50 | CPPFLAGS+= -I${TOPDIR}/lib | 50 | CPPFLAGS+= -I${TOPDIR}/lib | |
51 | 51 | |||
52 | COPTS+= -fPIC | 52 | COPTS+= -fPIC | |
53 | 53 | |||
54 | .include "../m64.mk" | 54 | .include "../m64.mk" | |
55 | .include "../syms.mk" | 55 | .include "../syms.mk" | |
56 | 56 | |||
57 | SYMS= libclang_rt.asan-x86_64.a.syms | 57 | SYMS= libclang_rt.asan-x86_64.a.syms | |
58 | SYMS_EXTRA= ${TOPDIR}/lib/asan/asan.syms.extra | |||
58 | 59 | |||
59 | beforeinstall: ${SYMS} | 60 | beforeinstall: ${SYMS} | |
60 | 61 | |||
61 | CLEANFILES+= ${SYMS} | 62 | CLEANFILES+= ${SYMS} | |
62 | FILES= ${SYMS} | 63 | FILES= ${SYMS} | |
63 | FILESDIR= ${LIBDIR} | 64 | FILESDIR= ${LIBDIR} | |
64 | 65 | |||
65 | .include <bsd.lib.mk> | 66 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile 2019/08/27 22:48:54 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile 2019/08/30 23:36:40 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:54 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:40 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.asan_cxx-x86_64 | 12 | LIB= libclang_rt.asan_cxx-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/asan | 14 | .PATH: ${TOPDIR}/lib/asan | |
@@ -27,22 +27,23 @@ LIBISCXX= yes | @@ -27,22 +27,23 @@ LIBISCXX= yes | |||
27 | _LIB_PREFIX= | 27 | _LIB_PREFIX= | |
28 | MKDEBUGLIB= no | 28 | MKDEBUGLIB= no | |
29 | MKLINT= no | 29 | MKLINT= no | |
30 | MKPICINSTALL= no | 30 | MKPICINSTALL= no | |
31 | MKPROFILE= no | 31 | MKPROFILE= no | |
32 | MKSTATICLIB= yes | 32 | MKSTATICLIB= yes | |
33 | 33 | |||
34 | CPPFLAGS+= -I${TOPDIR}/lib | 34 | CPPFLAGS+= -I${TOPDIR}/lib | |
35 | COPTS+= -fPIC | 35 | COPTS+= -fPIC | |
36 | 36 | |||
37 | .include "../m64.mk" | 37 | .include "../m64.mk" | |
38 | .include "../syms.mk" | 38 | .include "../syms.mk" | |
39 | 39 | |||
40 | SYMS= libclang_rt.asan_cxx-x86_64.a.syms | 40 | SYMS= libclang_rt.asan_cxx-x86_64.a.syms | |
41 | SYMS_EXTRA= ${TOPDIR}/lib/asan/asan.syms.extra # Overlooked in upstream compiler-rt (8.0) ? | |||
41 | 42 | |||
42 | beforeinstall: ${SYMS} | 43 | beforeinstall: ${SYMS} | |
43 | 44 | |||
44 | CLEANFILES+= ${SYMS} | 45 | CLEANFILES+= ${SYMS} | |
45 | FILES= ${SYMS} | 46 | FILES= ${SYMS} | |
46 | FILESDIR= ${LIBDIR} | 47 | FILESDIR= ${LIBDIR} | |
47 | 48 | |||
48 | .include <bsd.lib.mk> | 49 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile 2019/08/27 22:48:54 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile 2019/08/30 23:36:40 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:54 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:40 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.msan-x86_64 | 12 | LIB= libclang_rt.msan-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan | 14 | .PATH: ${TOPDIR}/lib/ubsan | |
@@ -40,21 +40,22 @@ MKDEBUGLIB= no | @@ -40,21 +40,22 @@ MKDEBUGLIB= no | |||
40 | MKLINT= no | 40 | MKLINT= no | |
41 | MKPICINSTALL= no | 41 | MKPICINSTALL= no | |
42 | MKPROFILE= no | 42 | MKPROFILE= no | |
43 | MKSTATICLIB= yes | 43 | MKSTATICLIB= yes | |
44 | 44 | |||
45 | CPPFLAGS+= -I${TOPDIR}/lib | 45 | CPPFLAGS+= -I${TOPDIR}/lib | |
46 | 46 | |||
47 | COPTS+= -fPIC | 47 | COPTS+= -fPIC | |
48 | 48 | |||
49 | .include "../m64.mk" | 49 | .include "../m64.mk" | |
50 | .include "../syms.mk" | 50 | .include "../syms.mk" | |
51 | 51 | |||
52 | SYMS= libclang_rt.msan-x86_64.a.syms | 52 | SYMS= libclang_rt.msan-x86_64.a.syms | |
53 | SYMS_EXTRA= ${TOPDIR}/lib/msan/msan.syms.extra | |||
53 | 54 | |||
54 | beforeinstall: ${SYMS} | 55 | beforeinstall: ${SYMS} | |
55 | 56 | |||
56 | CLEANFILES+= ${SYMS} | 57 | CLEANFILES+= ${SYMS} | |
57 | FILES= ${SYMS} | 58 | FILES= ${SYMS} | |
58 | FILESDIR= ${LIBDIR} | 59 | FILESDIR= ${LIBDIR} | |
59 | 60 | |||
60 | .include <bsd.lib.mk> | 61 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile 2019/08/27 22:48:54 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile 2019/08/30 23:36:40 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:54 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:40 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.msan_cxx-x86_64 | 12 | LIB= libclang_rt.msan_cxx-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan | 14 | .PATH: ${TOPDIR}/lib/ubsan | |
@@ -29,21 +29,22 @@ MKDEBUGLIB= no | @@ -29,21 +29,22 @@ MKDEBUGLIB= no | |||
29 | MKLINT= no | 29 | MKLINT= no | |
30 | MKPICINSTALL= no | 30 | MKPICINSTALL= no | |
31 | MKPROFILE= no | 31 | MKPROFILE= no | |
32 | MKSTATICLIB= yes | 32 | MKSTATICLIB= yes | |
33 | 33 | |||
34 | CPPFLAGS+= -I${TOPDIR}/lib | 34 | CPPFLAGS+= -I${TOPDIR}/lib | |
35 | 35 | |||
36 | COPTS+= -fPIC | 36 | COPTS+= -fPIC | |
37 | 37 | |||
38 | .include "../m64.mk" | 38 | .include "../m64.mk" | |
39 | .include "../syms.mk" | 39 | .include "../syms.mk" | |
40 | 40 | |||
41 | SYMS= libclang_rt.msan_cxx-x86_64.a.syms | 41 | SYMS= libclang_rt.msan_cxx-x86_64.a.syms | |
42 | SYMS_EXTRA= ${TOPDIR}/lib/msan/msan.syms.extra | |||
42 | 43 | |||
43 | beforeinstall: ${SYMS} | 44 | beforeinstall: ${SYMS} | |
44 | 45 | |||
45 | CLEANFILES+= ${SYMS} | 46 | CLEANFILES+= ${SYMS} | |
46 | FILES= ${SYMS} | 47 | FILES= ${SYMS} | |
47 | FILESDIR= ${LIBDIR} | 48 | FILESDIR= ${LIBDIR} | |
48 | 49 | |||
49 | .include <bsd.lib.mk> | 50 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile 2019/08/27 22:48:54 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile 2019/08/30 23:36:41 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:54 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:41 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.tsan-x86_64 | 12 | LIB= libclang_rt.tsan-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan | 14 | .PATH: ${TOPDIR}/lib/ubsan | |
@@ -40,21 +40,22 @@ _LIB_PREFIX= | @@ -40,21 +40,22 @@ _LIB_PREFIX= | |||
40 | MKDEBUGLIB= no | 40 | MKDEBUGLIB= no | |
41 | MKLINT= no | 41 | MKLINT= no | |
42 | MKPICINSTALL= no | 42 | MKPICINSTALL= no | |
43 | MKPROFILE= no | 43 | MKPROFILE= no | |
44 | MKSTATICLIB= yes | 44 | MKSTATICLIB= yes | |
45 | 45 | |||
46 | COPTS+= -fPIC | 46 | COPTS+= -fPIC | |
47 | CPPFLAGS+= -I${TOPDIR}/lib | 47 | CPPFLAGS+= -I${TOPDIR}/lib | |
48 | 48 | |||
49 | .include "../m64.mk" | 49 | .include "../m64.mk" | |
50 | .include "../syms.mk" | 50 | .include "../syms.mk" | |
51 | 51 | |||
52 | SYMS= libclang_rt.tsan-x86_64.a.syms | 52 | SYMS= libclang_rt.tsan-x86_64.a.syms | |
53 | SYMS_EXTRA= ${TOPDIR}/lib/tsan/rtl/tsan.syms.extra | |||
53 | 54 | |||
54 | beforeinstall: ${SYMS} | 55 | beforeinstall: ${SYMS} | |
55 | 56 | |||
56 | CLEANFILES+= ${SYMS} | 57 | CLEANFILES+= ${SYMS} | |
57 | FILES= ${SYMS} | 58 | FILES= ${SYMS} | |
58 | FILESDIR= ${LIBDIR} | 59 | FILESDIR= ${LIBDIR} | |
59 | 60 | |||
60 | .include <bsd.lib.mk> | 61 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile 2019/08/27 22:48:55 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile 2019/08/30 23:36:41 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:55 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:41 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.tsan_cxx-x86_64 | 12 | LIB= libclang_rt.tsan_cxx-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/tsan/rtl | 14 | .PATH: ${TOPDIR}/lib/tsan/rtl | |
@@ -28,21 +28,22 @@ _LIB_PREFIX= | @@ -28,21 +28,22 @@ _LIB_PREFIX= | |||
28 | MKDEBUGLIB= no | 28 | MKDEBUGLIB= no | |
29 | MKLINT= no | 29 | MKLINT= no | |
30 | MKPICINSTALL= no | 30 | MKPICINSTALL= no | |
31 | MKPROFILE= no | 31 | MKPROFILE= no | |
32 | MKSTATICLIB= yes | 32 | MKSTATICLIB= yes | |
33 | 33 | |||
34 | COPTS+= -fPIC | 34 | COPTS+= -fPIC | |
35 | CPPFLAGS+= -I${TOPDIR}/lib | 35 | CPPFLAGS+= -I${TOPDIR}/lib | |
36 | 36 | |||
37 | .include "../m64.mk" | 37 | .include "../m64.mk" | |
38 | .include "../syms.mk" | 38 | .include "../syms.mk" | |
39 | 39 | |||
40 | SYMS= libclang_rt.tsan_cxx-x86_64.a.syms | 40 | SYMS= libclang_rt.tsan_cxx-x86_64.a.syms | |
41 | SYMS_EXTRA= ${TOPDIR}/lib/tsan/rtl/tsan.syms.extra | |||
41 | 42 | |||
42 | beforeinstall: ${SYMS} | 43 | beforeinstall: ${SYMS} | |
43 | 44 | |||
44 | CLEANFILES+= ${SYMS} | 45 | CLEANFILES+= ${SYMS} | |
45 | FILES= ${SYMS} | 46 | FILES= ${SYMS} | |
46 | FILESDIR= ${LIBDIR} | 47 | FILESDIR= ${LIBDIR} | |
47 | 48 | |||
48 | .include <bsd.lib.mk> | 49 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile 2019/08/27 22:48:55 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile 2019/08/30 23:36:41 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:55 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:41 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.ubsan_minimal-x86_64 | 12 | LIB= libclang_rt.ubsan_minimal-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan_minimal | 14 | .PATH: ${TOPDIR}/lib/ubsan_minimal | |
@@ -24,21 +24,22 @@ _LIB_PREFIX= | @@ -24,21 +24,22 @@ _LIB_PREFIX= | |||
24 | MKDEBUGLIB= no | 24 | MKDEBUGLIB= no | |
25 | MKLINT= no | 25 | MKLINT= no | |
26 | MKPICINSTALL= no | 26 | MKPICINSTALL= no | |
27 | MKPROFILE= no | 27 | MKPROFILE= no | |
28 | MKSTATICLIB= yes | 28 | MKSTATICLIB= yes | |
29 | 29 | |||
30 | COPTS+= -fPIC | 30 | COPTS+= -fPIC | |
31 | CPPFLAGS+= -I${TOPDIR}/lib | 31 | CPPFLAGS+= -I${TOPDIR}/lib | |
32 | 32 | |||
33 | .include "../m64.mk" | 33 | .include "../m64.mk" | |
34 | .include "../syms.mk" | 34 | .include "../syms.mk" | |
35 | 35 | |||
36 | SYMS= libclang_rt.ubsan_minimal-x86_64.a.syms | 36 | SYMS= libclang_rt.ubsan_minimal-x86_64.a.syms | |
37 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan_minimal/ubsan.syms.extra | |||
37 | 38 | |||
38 | beforeinstall: ${SYMS} | 39 | beforeinstall: ${SYMS} | |
39 | 40 | |||
40 | CLEANFILES+= ${SYMS} | 41 | CLEANFILES+= ${SYMS} | |
41 | FILES= ${SYMS} | 42 | FILES= ${SYMS} | |
42 | FILESDIR= ${LIBDIR} | 43 | FILESDIR= ${LIBDIR} | |
43 | 44 | |||
44 | .include <bsd.lib.mk> | 45 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile 2019/08/27 22:48:55 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile 2019/08/30 23:36:41 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:55 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:41 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.ubsan_standalone-x86_64 | 12 | LIB= libclang_rt.ubsan_standalone-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/interception | 14 | .PATH: ${TOPDIR}/lib/interception | |
@@ -38,21 +38,22 @@ _LIB_PREFIX= | @@ -38,21 +38,22 @@ _LIB_PREFIX= | |||
38 | MKDEBUGLIB= no | 38 | MKDEBUGLIB= no | |
39 | MKLINT= no | 39 | MKLINT= no | |
40 | MKPICINSTALL= no | 40 | MKPICINSTALL= no | |
41 | MKPROFILE= no | 41 | MKPROFILE= no | |
42 | MKSTATICLIB= yes | 42 | MKSTATICLIB= yes | |
43 | 43 | |||
44 | COPTS+= -fPIC | 44 | COPTS+= -fPIC | |
45 | CPPFLAGS+= -I${TOPDIR}/lib | 45 | CPPFLAGS+= -I${TOPDIR}/lib | |
46 | 46 | |||
47 | .include "../m64.mk" | 47 | .include "../m64.mk" | |
48 | .include "../syms.mk" | 48 | .include "../syms.mk" | |
49 | 49 | |||
50 | SYMS= libclang_rt.ubsan_standalone-x86_64.a.syms | 50 | SYMS= libclang_rt.ubsan_standalone-x86_64.a.syms | |
51 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan/ubsan.syms.extra | |||
51 | 52 | |||
52 | beforeinstall: ${SYMS} | 53 | beforeinstall: ${SYMS} | |
53 | 54 | |||
54 | CLEANFILES+= ${SYMS} | 55 | CLEANFILES+= ${SYMS} | |
55 | FILES= ${SYMS} | 56 | FILES= ${SYMS} | |
56 | FILESDIR= ${LIBDIR} | 57 | FILESDIR= ${LIBDIR} | |
57 | 58 | |||
58 | .include <bsd.lib.mk> | 59 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile 2019/08/27 22:48:55 1.3
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile 2019/08/30 23:36:41 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2019/08/27 22:48:55 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/08/30 23:36:41 kamil Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.ubsan_standalone_cxx-x86_64 | 12 | LIB= libclang_rt.ubsan_standalone_cxx-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan | 14 | .PATH: ${TOPDIR}/lib/ubsan | |
@@ -24,21 +24,22 @@ _LIB_PREFIX= | @@ -24,21 +24,22 @@ _LIB_PREFIX= | |||
24 | MKDEBUGLIB= no | 24 | MKDEBUGLIB= no | |
25 | MKLINT= no | 25 | MKLINT= no | |
26 | MKPICINSTALL= no | 26 | MKPICINSTALL= no | |
27 | MKPROFILE= no | 27 | MKPROFILE= no | |
28 | MKSTATICLIB= yes | 28 | MKSTATICLIB= yes | |
29 | 29 | |||
30 | COPTS+= -fPIC | 30 | COPTS+= -fPIC | |
31 | CPPFLAGS+= -I${TOPDIR}/lib | 31 | CPPFLAGS+= -I${TOPDIR}/lib | |
32 | 32 | |||
33 | .include "../m64.mk" | 33 | .include "../m64.mk" | |
34 | .include "../syms.mk" | 34 | .include "../syms.mk" | |
35 | 35 | |||
36 | SYMS= libclang_rt.ubsan_standalone_cxx-x86_64.a.syms | 36 | SYMS= libclang_rt.ubsan_standalone_cxx-x86_64.a.syms | |
37 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan/ubsan.syms.extra | |||
37 | 38 | |||
38 | beforeinstall: ${SYMS} | 39 | beforeinstall: ${SYMS} | |
39 | 40 | |||
40 | CLEANFILES+= ${SYMS} | 41 | CLEANFILES+= ${SYMS} | |
41 | FILES= ${SYMS} | 42 | FILES= ${SYMS} | |
42 | FILESDIR= ${LIBDIR} | 43 | FILESDIR= ${LIBDIR} | |
43 | 44 | |||
44 | .include <bsd.lib.mk> | 45 | .include <bsd.lib.mk> |