History log of /netbsd/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile (Results 1 – 7 of 7)
Revision Date Author Comments
# c49c3ec3 17-Sep-2021 christos <christos@NetBSD.org>

- get the version dynamically
- move more common stuff into common.mk


# 13bc689c 04-May-2021 rillig <rillig@NetBSD.org>

compiler_rt: build .a.syms files as part of dependall

The previous target 'all' is a top-level target intended to be specified
by the user. During the regular build, 'dependall' is used instead of

compiler_rt: build .a.syms files as part of dependall

The previous target 'all' is a top-level target intended to be specified
by the user. During the regular build, 'dependall' is used instead of
'all'. The target 'realall' is common to those two.

show more ...


# 9d5101de 30-Apr-2021 rillig <rillig@NetBSD.org>

compiler_rt: generate symbol table early

These libraries have the special feature that they install both the .a
library as well as the .a.syms that is generated from them. To avoid
the transformati

compiler_rt: generate symbol table early

These libraries have the special feature that they install both the .a
library as well as the .a.syms that is generated from them. To avoid
the transformation rule .a.a.syms to apply to the files in ${DESTDIR},
that rule has to be disabled during the installation phase.

If the transformation rule were active during installation, the .a.syms
file in ${DESTDIR} would have more than one possible source file, which
eventually leads to an error during installation since in the command
"install a b c", the last argument must be a directory, not a file.

The installation phase should be as minimal as possible anyway,
therefore move the generation of the .syms files to the build phase.

This hopefully fixes the build for HAVE_LLVM=yes, which has been broken
for several weeks now, at least for the official builds.

show more ...


# 83adab7e 30-Aug-2019 kamil <kamil@NetBSD.org>

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.


# c0b89289 27-Aug-2019 kamil <kamil@NetBSD.org>

Enhance the support of LLVM sanitizers

Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump ke

Enhance the support of LLVM sanitizers

Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.

show more ...


# 3c9e8888 26-Aug-2019 kamil <kamil@NetBSD.org>

Correct the build rules of LLVM sanitizers

Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to

Correct the build rules of LLVM sanitizers

Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to distribution sets.
These files are generated only in certain .a files in 64bit version of
sanitizers.

Correct the location of files with LLVM sanitizers. Move the LLVM sanitizer
entries from base to comp files.

show more ...


# c9b66bfa 08-Aug-2019 kamil <kamil@NetBSD.org>

Add compiler-rt build rules for LLVM sanitizers &co

Add build rules for LLVM in all the supported variations for NetBSD/amd64:

- asan
- xray
- tsan, dd
- libfuzzer
- msan
- safestack
- ubsan

Add compiler-rt build rules for LLVM sanitizers &co

Add build rules for LLVM in all the supported variations for NetBSD/amd64:

- asan
- xray
- tsan, dd
- libfuzzer
- msan
- safestack
- ubsan

These build rules compile functional sanitizers.

The build rules are still not hooked into the distribution build, as there
is pending work on backporting improvements for the llvm-8 branch needed
for netbsd-9 and newer.

show more ...