Hi John, all, I've built LLVM HEAD using:
cmake -DLLVM_ENABLE_PROJECTS="clang;compiler-rt" -DLLVM_TARGETS_TO_BUILD="X86;PowerPC" -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../llvm And it does seem that there is no libclang_rt.asan-powerpc.a being generated. The clang docs are a bit vague, though they do state that "most sanitizers are only supported on Linux X86-64". So it seems that indeed it's not supported. The ASAN docs did suggest support: https://github.com/google/sanitizers/wiki/AddressSanitizer For now this seems to solve the confusion though. Cheers, Thom On Mon, 11 Feb 2019 at 17:18, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: > Hi Thom! > > On 2/11/19 2:07 PM, Thom Wiggers wrote: > > I'm trying to run tests on the debian ppc version from the ports, and > I'm running into the problem that the clang package seems to not include > some powerpc libraries (only powerpc64 libraries). > > > > Specifically, this file [0] does not seem to have > libclang_rt.asan-powerpc.a. This file is needed to enable -fsanitize in > Clang. > > Looking at the build log, it seems that libclang_rt.asan-powerpc.a is not > being built on powerpc: > > > > https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-7&arch=powerpc&ver=1%3A7.0.1-6&stamp=1549250586&raw=0 > > I'm not sure why. Have you tried checking out LLVM from git and see if it > gets build there? > > > Is there any bug tracker? > > Just use the regular Debian bug tracker: > > > https://www.debian.org/Bugs/Reporting > > https://wiki.debian.org/reportbug > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >