On Fri, Sep 06, 2019 at 03:11:55PM +0200, Kamil Rytarowski wrote:
> The only supported combination is:
>
> HAVE_LLVM=yes MKSANITIZER=yes MKGCC=no MKLLVM=yes
So I tried the suggested combination, and it didn't work for me either.
--- dependall-libLLVMAsmParser ---
In file included from
/usr/src/external/bsd/llvm/librt/libLLVMAsmParser/../../lib/../dist/llvm/lib/AsmParser/LLLexer.cpp:14:
In file included from
/usr/src/external/bsd/llvm/librt/libLLVMAsmParser/../../lib/../dist/llvm/lib/AsmParser/LLLexer.h:18:
In file included from
/usr/src/external/bsd/llvm/librt/libLLVMAsmParser/../../lib/../dist/llvm/include/llvm/ADT/APFloat.h:20:
In file included from
/usr/src/external/bsd/llvm/librt/libLLVMAsmParser/../../lib/../dist/llvm/include/llvm/ADT/APInt.h:19:
/usr/src/external/bsd/llvm/librt/libLLVMAsmParser/../../lib/../dist/llvm/include/llvm/Support/Compiler.h:387:11:
fatal error: 'sanitizer/asan_interface.h' file not found
# include <sanitizer/asan_interface.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
build.sh -j 16 -x -V MKDEBUG=yes -V MKDEBUGLIB=yes -V MKLLVM=yes -V
MKSANITIZER=yes -V HAVE_LLVM=yes -V MKGCC=no -T /usr/obj/tools.clang -m amd64
-O /usr/obj/src.amd64 -D /usr/obj/amd64.clang.20190906 -R
/usr/obj/amd64.clang.20190906.release distribution
Thomas