<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:andrew@ziglang.org" title="Andrew Kelley <andrew@ziglang.org>"> <span class="fn">Andrew Kelley</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - llvm-config --system-libs reports absolute path for zlib without rpath"
href="https://bugs.llvm.org/show_bug.cgi?id=44780">bug 44780</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - llvm-config --system-libs reports absolute path for zlib without rpath"
href="https://bugs.llvm.org/show_bug.cgi?id=44780#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - llvm-config --system-libs reports absolute path for zlib without rpath"
href="https://bugs.llvm.org/show_bug.cgi?id=44780">bug 44780</a>
from <span class="vcard"><a class="email" href="mailto:andrew@ziglang.org" title="Andrew Kelley <andrew@ziglang.org>"> <span class="fn">Andrew Kelley</span></a>
</span></b>
<pre>I'm sorry, I spoke too soon. I'm now unable to build LLD from source in the
release/10.x branch:
[nix-shell:~/Downloads/llvm-project-10/lld/build-release]$ make -j8 install
-- Linker detection: GNU ld
/nix/store/x5m45fcnky99r0k41kmdwmjb7zw5k4z4-binutils-2.31.1/bin/ar: creating
t.a
-- Building with -fPIC
-- LLD version: 10.0.0
-- Configuring done
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:789
(add_executable):
Target "lld" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:37 (add_llvm_executable)
cmake/modules/AddLLD.cmake:46 (add_lld_executable)
tools/lld/CMakeLists.txt:5 (add_lld_tool)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:789
(add_executable):
Target "lld" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:37 (add_llvm_executable)
cmake/modules/AddLLD.cmake:46 (add_lld_executable)
tools/lld/CMakeLists.txt:5 (add_lld_tool)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldCommon" links to target "ZLIB::ZLIB" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
Common/CMakeLists.txt:30 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldCore" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
lib/Core/CMakeLists.txt:5 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldDriver" links to target "ZLIB::ZLIB" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
lib/Driver/CMakeLists.txt:5 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldReaderWriter" links to target "ZLIB::ZLIB" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
lib/ReaderWriter/CMakeLists.txt:8 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldMachO" links to target "ZLIB::ZLIB" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
lib/ReaderWriter/MachO/CMakeLists.txt:1 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldYAML" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
lib/ReaderWriter/YAML/CMakeLists.txt:1 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldCOFF" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
COFF/CMakeLists.txt:9 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldELF" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
ELF/CMakeLists.txt:9 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldMinGW" links to target "ZLIB::ZLIB" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
MinGW/CMakeLists.txt:9 (add_lld_library)
CMake Error at /home/andy/local/llvm10-release/lib/cmake/llvm/AddLLVM.cmake:493
(add_library):
Target "lldWasm" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
cmake/modules/AddLLD.cmake:10 (llvm_add_library)
wasm/CMakeLists.txt:9 (add_lld_library)
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
make: *** [Makefile:448: cmake_check_build_system] Error 1</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>