[llvm-dev] Incorrect include paths for native x32

John Paul Adrian Glaubitz via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 21 14:32:23 PDT 2018


Hi!

Building LLVM in a native x32 currently fails because the include
paths that LLVM is searching for header files is incomplete [1]:

bin/clang++ -c $CFLAGS -std=c++11 ../compiler-rt/lib/fuzzer/*.cpp -IFuzzer; \
ar ruv libFuzzer.a Fuzzer*.o
-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
In file included from ../compiler-rt/lib/fuzzer/FuzzerClangCounters.cpp:22:
../compiler-rt/lib/fuzzer/FuzzerDefs.h:15:10: fatal error: 'cassert' file not found
#include <cassert>
         ^~~~~~~~~

There is an open changeset by James Clarke to address this issue. Is
there any chance this can get a review?

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=x32&ver=1%3A7%7Esvn331965-1&stamp=1527400660&raw=0
> [2] https://reviews.llvm.org/D43630

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the llvm-dev mailing list