Sylvestre Ledru, le dim. 04 nov. 2018 14:21:55 +0100, a ecrit: > Le 04/11/2018 à 12:09, Samuel Thibault a écrit : > > Hello, > > > > Sylvestre Ledru, le dim. 04 nov. 2018 09:18:08 +0100, a ecrit: > >> Le 04/11/2018 à 02:33, Samuel Thibault a écrit : > >>> /mnt/compil/llvm-toolchain-7-7/build-llvm/bin/clang++ -g -O2 > >>> -fdebug-prefix-map=/mnt/compil/llvm-toolchain-7-7=. > >>> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > >>> -D_FORTIFY_SOURCE=2 -DLLVM_NO_OLD_LIBSTDCXX -std=c++0x -o > >>> CMakeFiles/cmTC_b2902.dir/src.cxx.o -c > >>> /mnt/compil/llvm-toolchain-7-7/libcxxabi/build/CMakeFiles/CMakeTmp/src.cxx > >> Adding -v to see the search paths, what this command returns? > > It's not very talkative :/ > > > > clang version 7.0.0-8 (tags/RELEASE_700/final) > > Target: i686-unknown--gnu0.9 > > Thread model: posix > > InstalledDir: /mnt/compil/llvm-toolchain-7-7/build-llvm/bin > > clang++: error: no such file or directory: > > '/mnt/compil/llvm-toolchain-7-7/libcxxabi/build/CMakeFiles/CMakeTmp/src.cxx' > > This is a temp file generated by cmake. Just create it again with the > right content :)
D'oh, I didn't even read the error content and assumed it was the atomic issue again. There it is: $ /mnt/compil/llvm-toolchain-7-7/build-llvm/bin/clang++ -g -O2 -fdebug-prefix-map=/mnt/compil/llvm-toolchain-7-7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLLVM_NO_OLD_LIBSTDCXX -std=c++0x -o CMakeFiles/cmTC_b2902.dir/src.cxx.o -c /mnt/compil/llvm-toolchain-7-7/libcxxabi/build/CMakeFiles/CMakeTmp/src.cxx clang version 7.0.0-8 (tags/RELEASE_700/final) Target: i686-unknown--gnu0.9 Thread model: posix InstalledDir: /mnt/compil/llvm-toolchain-7-7/build-llvm/bin "/mnt/compil/llvm-toolchain-7-7/build-llvm/bin/clang++" -cc1 -triple i686-unknown--gnu0.9 -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name src.cxx -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu pentium4 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -v -v -coverage-notes-file /mnt/compil/llvm-toolchain-7-7/libcxxabi/build/CMakeFiles/cmTC_b2902.dir/src.cxx.gcno -resource-dir /mnt/compil/llvm-toolchain-7-7/build-llvm/lib/clang/7.0.0 -D _FORTIFY_SOURCE=2 -D LLVM_NO_OLD_LIBSTDCXX -internal-isystem /usr/include/clang/7.0.0/include/ -O2 -Wformat -Werror=format-security -Wdate-time -std=c++0x -fdeprecated-macro -fdebug-compilation-dir /mnt/compil/llvm-toolchain-7-7/libcxxabi/build -fdebug-prefix-map=/mnt/compil/llvm-toolchain-7-7=. -ferror-limit 19 -fmessage-length 80 -stack-protector 2 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_b2902.dir/src.cxx.o -x c++ /mnt/compil/llvm-toolchain-7-7/libcxxabi/build/CMakeFiles/CMakeTmp/src.cxx -faddrsig clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target i686-unknown-gnu0.9 ignoring nonexistent directory "/usr/include/clang/7.0.0/include/" #include "..." search starts here: #include <...> search starts here: /usr/local/include /mnt/compil/llvm-toolchain-7-7/build-llvm/lib/clang/7.0.0/include /usr/include End of search list. /mnt/compil/llvm-toolchain-7-7/libcxxabi/build/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: 'atomic' file not found #include <atomic> ^~~~~~~~ 1 error generated. I'm actually wondering what is supposed to make clang++ take the -DLIBCXXABI_LIBCXX_INCLUDES=/mnt/compil/llvm-toolchain-7-7/libcxx/include Samuel