[llvm-dev] llvm-toolchain-3.8 on lower arm targets, specifically Debian armel and Raspbian.
peter green via llvm-dev
llvm-dev at lists.llvm.org
Thu May 19 08:54:27 PDT 2016
On 18/05/16 04:50, Tim Northover wrote:
> If you don't need/want the various Sanitizer runtimes (e.g. you don't
> support sanitizers or already have versions provided with GCC) then
> it's as easy as not downloading compiler-rt or removing it from the
> projects/ directory before running CMake. The build should carry on
> quite happily without it.
> If you do need the sanitizers from compiler-rt, you can disable the
> bits that are causing problems right now with "cmake
> -DCOMPILER_RT_BUILD_BUILTINS=OFF<other options>". Of course, the
> sanitizers themselves may suffer from similar issues -- you just won't
> know until you get there.
Thanks, -DCOMPILER_RT_BUILD_BUILTINS=OFF did the trick and I got a
successful build for raspbian that passed my armv7 contamination checker
script (which is not 100% foolproof but it's the best we have) and
uploaded it to raspbian stretch.
More information about the llvm-dev