Closed 4ntoine closed 9 years ago
[ 92%] Building CXX object tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o [ 92%] Building CXX object tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o [ 92%] Building CXX object tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o Linking CXX executable ../../../../bin/diagtool ld: archive has no table of contents file '../../../../lib/libclangSema.a' for architecture x86_64 0 0x1005d8f64 __assert_rtn + 144 0 0x1005d8f64 __assert_rtn + 144 1 0x100629069 ld::tool::InputFiles::parseWorkerThread() + 673 1 0x100629069 ld::tool::InputFiles::parseWorkerThread() + 673 2 0x7fff97a39268 _pthread_body + 131 3 0x7fff97a391e5 _pthread_body + 0 2 0x7fff97a39268 _pthread_body + 131 A linker snapshot was created at: /tmp/ld_snapshot-2015-08-21-214444.ld-snapshot ld: Assertion failed: (slot < (int)files.size()), function parseWorkerThread, file /SourceCache/ld64/ld64-242/src/ld/InputFiles.cpp, line 918. 3 0x7fff97a391e5 _pthread_body + 0 A linker snapshot was created at: /tmp/ld_snapshot-2015-08-21-214444.ld-snapshot ld: Assertion failed: (slot < (int)files.size()), function parseWorkerThread, file /SourceCache/ld64/ld64-242/src/ld/InputFiles.cpp, line 918. clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/diagtool] Error 1 make[1]: *** [tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/all] Error 2 make: *** [all] Error 2 MBA-Anton:build asmirnov$ cd ../llvm MBA-Anton:llvm asmirnov$ git log commit 47a798c880f7baaf6b80b99e8653a22a28efc025 Merge: a8127a2 ec0cd29 Author: Dylan McKay <dylanmckay34@gmail.com> Date: Wed Sep 2 17:13:41 2015 +1200 Merge branch 'master' into avr-support
That's strange but it's fixed by make clean, make
make clean
make