https://llvm.org/bugs/show_bug.cgi?id=26372
Bug ID: 26372 Summary: llvm can't be built with CC="clang -m64" CXX=clang++ -m64" Product: new-bugs Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: hjl.to...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified On Fedora 23/x86-64, llvm r259191 can be built with CC="gcc -fno-lto -m64" CXX="g++ -fno-lto -m64" cmake -DLLVM_BUILD_TESTS=ON -DLLVM_BINUTILS_INCDIR=/usr/local/include -DCLANG_BUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=/opt/llvm/master -DCMAKE_BUILD_TYPE=Release /export/gnu/import/git/llvm But CC="/export/build/gnu/llvm-clang-bootstrap-cmake/stage1/build-x86_64-linux/bin/clang -m64" CXX="/export/build/gnu/llvm-clang-bootstrap-cmake/stage1/build-x86_64-linux/bin/clang++ -m64" cmake -DLLVM_BUILD_TESTS=ON -DLLVM_BINUTILS_INCDIR=/usr/local/include -DCLANG_BUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=/opt/llvm/master -DCMAKE_BUILD_TYPE=Release /export/gnu/import/git/llvm CMake Error at /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:57 (message): Could not find compiler set in environment variable CC: /export/build/gnu/llvm-clang-bootstrap-cmake/stage1/build-x86_64-linux/bin/clang -m64. Call Stack (most recent call first): CMakeLists.txt:54 (project) CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs