[llvm-bugs] [Bug 27875] New: LIBCXX_CXX_ABI_LIBRARY_PATH is not properly parsed

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 25 06:21:54 PDT 2016


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

            Bug ID: 27875
           Summary: LIBCXX_CXX_ABI_LIBRARY_PATH is not properly parsed
           Product: libc++
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: zhanglei.april at gmail.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
    Classification: Unclassified

Created attachment 16415
  --> https://llvm.org/bugs/attachment.cgi?id=16415&action=edit
Patch to CMake script

This issue is observed while doing out-of-tree build on Linux.

The CMake variable LIBCXX_CXX_ABI_LIBRARY_PATH is parsed as a string type
rather than a path type. As a result you can only set it to an absolute path.

OTOH, a similar variable LIBCXX_CXX_ABI_INCLUDE_PATHS is parsed correctly and
can work with relative paths. So this is some inconsistency here.

A possible fix is attached.


Lei

-- 
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/20160525/1e01cc66/attachment.html>


More information about the llvm-bugs mailing list