[llvm-bugs] [Bug 44780] llvm-config --system-libs reports absolute path for zlib without rpath
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Mar 2 08:45:06 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44780
Andrew Kelley <andrew at ziglang.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #5 from Andrew Kelley <andrew at ziglang.org> ---
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
--
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/20200302/764d4049/attachment-0001.html>
More information about the llvm-bugs
mailing list