[LLVMbugs] [Bug 24144] New: libcxx_tsan and libcxx_msan-with-call get installed with bad prefixes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 15 17:11:42 PDT 2015


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

            Bug ID: 24144
           Summary: libcxx_tsan and libcxx_msan-with-call get installed
                    with bad prefixes
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvmbugs at cs.uiuc.edu, samsonov at google.com
    Classification: Unclassified

To reproduce:

In /tmp/foo:

$ svn export http://llvm.org/svn/llvm-project/llvm/trunk llvm
$ svn export http://llvm.org/svn/llvm-project/compiler-rt/trunk
llvm/projects/compiler-rt
$ svn export http://llvm.org/svn/llvm-project/libcxx/trunk llvm/projects/libcxx
$ svn export http://llvm.org/svn/llvm-project/libcxxabi/trunk
llvm/projects/libcxxabi
$ svn export http://llvm.org/svn/llvm-project/cfe/trunk llvm/tools/clang
$ mkdir build && cd build
$ CC=clang CXX=clang++ cmake -GNinja ../llvm
$ DESTDIR=/tmp/install ninja install

Now look in /tmp/install, it will contain files such as:
/tmp/install/tmp/foo/build/projects/compiler-rt/lib/tsan/libcxx_tsan/include/c++/v1/limits

That's not good, because the installed files are what becomes part of release
tarballs.

>From what I understand, these two special libcxx builds are only used for
testing, so not intended to be part of the overall install target. That's why
they get a prefix inside the object dir. But then DESTDIR ruins it by getting
them installed somewhere else.

I wonder if we can suppress DESTDIR somehow when installinb libcxx_tsan.

-- 
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/20150716/4eef97c4/attachment.html>


More information about the llvm-bugs mailing list