<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 --- - llvm-3.4.1 creates broken libLLVM-3.4.so symlink"
   href="http://llvm.org/bugs/show_bug.cgi?id=19703">19703</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-3.4.1 creates broken libLLVM-3.4.so symlink
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.4
          </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>Makefiles
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </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>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.</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>