<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - compiler-rt can not be compiled by cmake"
   href="http://llvm.org/bugs/show_bug.cgi?id=16290">16290</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>compiler-rt can not be compiled by cmake
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yaqy@qq.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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(<a href="http://opensource.apple.com/source/CF/CF-744.12/README_CFLITE),i">http://opensource.apple.com/source/CF/CF-744.12/README_CFLITE),i</a>
tried to compiler the compiler-rt to /usr/local/include and /usr/local/lib,but
i got errors:



rong@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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>