[LLVMbugs] [Bug 19703] New: llvm-3.4.1 creates broken libLLVM-3.4.so symlink

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 10 03:29:10 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19703

            Bug ID: 19703
           Summary: llvm-3.4.1 creates broken libLLVM-3.4.so symlink
           Product: Build scripts
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

After installing llvm-3.4.1, I have:

  /usr/lib64/libLLVM-3.4.so -> //_amd64/usr/lib64/libLLVM-3.4.1.so

where _amd64 was last segment of DESTDIR for 'make install'. It seems that some
DESTDIR stripping code doesn't work properly.

The exact 'make install' call was:

make -j12 VERBOSE=1 REQUIRES_RTTI=1 GENTOO_LIBDIR=lib64 'ONLY_TOOLS=llvm-config
clang opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link lli llvm-extract
llvm-mc llvm-bcanalyzer llvm-diff macho-dump llvm-objdump llvm-readobj
llvm-rtdyld llvm-dwarfdump llvm-cov llvm-size llvm-stress llvm-mcmarkup
llvm-symbolizer obj2yaml yaml2obj lto bugpoint llvm-lto gold
clang/tools/clang-check clang/tools/clang-format clang/tools/extra'
BUILD_CLANG_ONLY=YES
DESTDIR=/var/tmp/portage/sys-devel/llvm-3.4.1/image//_amd64 install

(note the accidental '//')

But since the file is in the same dir, it should be trivial and much better to
create a relative symlink.

-- 
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/20140510/996e61fe/attachment.html>


More information about the llvm-bugs mailing list