[LLVMbugs] [Bug 23677] New: chicken-and-egg problem building libc++ as the only STL on a system

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 27 10:46:19 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23677

            Bug ID: 23677
           Summary: chicken-and-egg problem building libc++ as the only
                    STL on a system
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: bero at linaro.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Trying to build libc++ and libc++abi for a system that doesn't have any STL
implementation installed before fails because of cmake's checks for a working
C++ compiler -- CMakeTestCXXCompiler.cmake tries to verify there's a working
C++ compiler by compiling a small application (and implicitly linking it to an
STL -- which isn't needed to build libc++abi/libc++).

The check for a working C++ compiler should probably be replaced with a simpler
check that doesn't require linking to a pre-existing
libc++/libstdc++/libc++abi/libsupc++.

-- 
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/20150527/6c2092c5/attachment.html>


More information about the llvm-bugs mailing list