[llvm-dev] LLVM build failures of Sanitized builds
Roman Lebedev via llvm-dev
llvm-dev at lists.llvm.org
Sat Aug 5 11:40:45 PDT 2017
Reported as https://bugs.llvm.org/show_bug.cgi?id=34085
I must be doing something really wrong...
On Fri, Aug 4, 2017 at 3:42 PM, Roman Lebedev <lebedev.ri at gmail.com> wrote:
> Hi.
>
> Failure 1:
> Current clang-6.0 from http://apt.llvm.org/, current sources.
>
> $ CC=clang-6.0 CXX=clang++-6.0 cmake
> -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld;polly;openmp"
> -DLLVM_USE_SANITIZER="Address;Undefined" -DCMAKE_BUILD_TYPE=Release
> -GNinja ../llvm
> $ ninja
> [200/3921] Building Attributes.gen...
> FAILED: include/llvm/IR/Attributes.gen.tmp
> cd /build/build-test && /build/build-test/bin/llvm-tblgen -gen-attrs
> -I /build/llvm/include/llvm/IR -I /build/llvm/include
> /build/llvm/include/llvm/IR/Attributes.td -o
> include/llvm/IR/Attributes.gen.tmp -d include/llvm/IR/Attributes.gen.d
> ==1216==AddressSanitizer CHECK failed:
> /build/llvm-toolchain-snapshot-6.0~svn309928/projects/compiler-rt/lib/asan/asan_posix.cc:102
> "((tsd_key_inited)) != (0)" (0x0, 0x0)
> <empty stack>
>
> Aborted
> [201/3921] Building Intrinsics.gen...
> FAILED: include/llvm/IR/Intrinsics.gen.tmp
> cd /build/build-test && /build/build-test/bin/llvm-tblgen
> -gen-intrinsic -I /build/llvm/include/llvm/IR -I /build/llvm/include
> /build/llvm/include/llvm/IR/Intrinsics.td -o
> include/llvm/IR/Intrinsics.gen.tmp -d include/llvm/IR/Intrinsics.gen.d
> ==1217==AddressSanitizer CHECK failed:
> /build/llvm-toolchain-snapshot-6.0~svn309928/projects/compiler-rt/lib/asan/asan_posix.cc:102
> "((tsd_key_inited)) != (0)" (0x0, 0x0)
> <empty stack>
>
> Aborted
> [209/3921] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCStreamer.cpp.o
> ninja: build stopped: subcommand failed.
> $ clang-6.0 --version
> clang version 6.0.0-svn309928-1~exp1 (trunk)
> ...
>
>
> Failure 2, stage2 build is broken: (may have been fixed, did not re-check)
> https://bugs.llvm.org/show_bug.cgi?id=33632
>
>
> What am i doing wrong? Is there really no buildbots to catch these
> sanitized build failures?
>
> Roman.
More information about the llvm-dev
mailing list