[LLVMbugs] [Bug 16290] New: compiler-rt can not be compiled by cmake
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 10 02:51:12 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16290
Bug ID: 16290
Summary: compiler-rt can not be compiled by cmake
Product: compiler-rt
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: yaqy at qq.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
hello,every one!
i have compiled the llvm with the compiler-rt
project(llvm/projects/compiler-rt).but NO includes files and libraries were
found.and the CFLite can not be compiled!
in order to compile the core foundation
framework(http://opensource.apple.com/source/CF/CF-744.12/README_CFLITE),i
tried to compiler the compiler-rt to /usr/local/include and /usr/local/lib,but
i got errors:
rong at rong-VirtualBox:~/source/compile-rt/build$ cmake ../compiler-rt/
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:10 (include):
include could not find load file:
LLVMParseArguments
CMake Error at CMakeLists.txt:21 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
CMake Error at cmake/Modules/AddCompilerRT.cmake:1 (include):
include could not find load file:
AddLLVM
Call Stack (most recent call first):
CMakeLists.txt:36 (include)
CMake Error at cmake/Modules/AddCompilerRT.cmake:2 (include):
include could not find load file:
LLVMParseArguments
Call Stack (most recent call first):
CMakeLists.txt:36 (include)
CMake Error at cmake/Modules/CompilerRTUtils.cmake:21 (string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
CMakeLists.txt:109 (find_flag_in_string)
CMake Error at CMakeLists.txt:138 (check_cxx_compiler_flag):
Unknown CMake command "check_cxx_compiler_flag".
-- Configuring incomplete, errors occurred!
best regards
Yang Qing-rong
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130610/3de3fec0/attachment.html>
More information about the llvm-bugs
mailing list