[PATCH] D107799: [CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 28 08:24:06 PDT 2021
lebedev.ri reopened this revision.
lebedev.ri added a comment.
This revision is now accepted and ready to land.
Hello. This broke the world for me.
Both @sylvestre.ledru's llvm-main package for debian sid (https://apt.llvm.org/)
and clean local builds are broken:
$ git bisect log
git bisect start
# bad: [20c02807333a47000879e0f673cdf2d6b07148dd] [LiveIntervals] Repair subreg ranges in processTiedPairs
git bisect bad 20c02807333a47000879e0f673cdf2d6b07148dd
# bad: [3a998c06a8e93989319238e12b56a731198cc1c2] Revert "Recommit "Revert "[CVP] processSwitch: Remove default case when switch cover all possible values."""
git bisect bad 3a998c06a8e93989319238e12b56a731198cc1c2
# bad: [6cd382bf2894f87a6a68e2d962bdbfc2f0fb3d85] Revert "[CMake] Add debuginfo-tests to LLVM_ALL_PROJECTS after D110016"
git bisect bad 6cd382bf2894f87a6a68e2d962bdbfc2f0fb3d85
# good: [c82dbc2924bd37fc497cdfe581a21810aace608d] [lldb] Skip TestGuiBasicDebug due to pr51833
git bisect good c82dbc2924bd37fc497cdfe581a21810aace608d
# bad: [a2c319fdc6b35ae6d8578459f07c89042775e5ec] [LLVM][CMake][NFC] Resolve FIXME: Rename LLVM_CMAKE_PATH to LLVM_CMAKE_DIR throughout the project
git bisect bad a2c319fdc6b35ae6d8578459f07c89042775e5ec
# good: [a32300a68f6c94b7b275e3560ed31e9174cec5ad] Make the --mlir-disable-threading command line option overrides the C++ API usage
git bisect good a32300a68f6c94b7b275e3560ed31e9174cec5ad
# bad: [87c00878d3ace60fe07cc2a9f8bd4566ab817d26] SplitKit: Remove decade old live interval hack
git bisect bad 87c00878d3ace60fe07cc2a9f8bd4566ab817d26
# good: [1a3b3301d7aa9ab25a8bdf045c77298b087e3930] [HWASan] Catch cases where libc populated jmp_buf.
git bisect good 1a3b3301d7aa9ab25a8bdf045c77298b087e3930
# bad: [1b79efdc72e640fb7a70e5974d0e7352d72ce997] [mlir] Fix printing of EmitC attrs/types with escape characters
git bisect bad 1b79efdc72e640fb7a70e5974d0e7352d72ce997
# bad: [f9dbca68d48e705f6d45df8f58d6b2ee88bce76c] [CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux
git bisect bad f9dbca68d48e705f6d45df8f58d6b2ee88bce76c
# good: [0a07789fe93d8994163798ed6d14937412274dc2] [HWASan] Add missing newlines.
git bisect good 0a07789fe93d8994163798ed6d14937412274dc2
# good: [36ef65adc356699832f786f9fbd3244527e4b79d] [InstCombine] Update test checks through autogeneration, add more tests. NFC
git bisect good 36ef65adc356699832f786f9fbd3244527e4b79d
$ cat /tmp/bisect.sh
#!/bin/bash
rm -rf /tmp/build-llvm-project
mkdir /tmp/build-llvm-project
cd /tmp/build-llvm-project
CC=clang-12 CXX=clang++-12 cmake -GNinja -DCMAKE_BUILD_TYPE:String=Release -DLLVM_TARGETS_TO_BUILD=all -DLLVM_ENABLE_PROJECTS=all -DLLVM_BUILD_TESTS=ON -DLLVM_INCLUDE_TESTS=ON -DLLVM_BUILD_BENCHMARKS=ON -DLLVM_INCLUDE_BENCHMARKS=ON -DLLVM_APPEND_VC_REV=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF -DLLVM_ABI_BREAKING_CHECKS=FORCE_ON -DLLVM_USE_LINKER=lld -DLLVM_USE_SPLIT_DWARF=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS:String='-O3 -march=native -UNDEBUG -DDEBUG -gsplit-dwarf -gz' -DCMAKE_CXX_FLAGS:String='-O3 -march=native -UNDEBUG -DDEBUG -gsplit-dwarf -gz' -DCMAKE_C_FLAGS_RELEASE:String='-O3 -march=native -UNDEBUG -DDEBUG -g -gsplit-dwarf -gz' -DCMAKE_CXX_FLAGS_RELEASE:String='-O3 -march=native -UNDEBUG -DDEBUG -g -gsplit-dwarf -gz' /tmp/llvm-project/llvm && cp /tmp/llvm.ninja_log .ninja_log && ninja clang
rm -rf /tmp/test-project/build
mkdir /tmp/test-project/build
cd /tmp/test-project/build
CC=/tmp/build-llvm-project/bin/clang CXX=/tmp/build-llvm-project/bin/clang++ cmake .. &> log
grep "\-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version \"1.2.11\")" log || exit 1
exit 0
$ cat CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
project(test)
find_package(ZLIB)
Good output (before this patch / with this patch reverted):
$ CC=/tmp/build-llvm-project/bin/clang CXX=/tmp/build-llvm-project/bin/clang++ cmake ..
-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is Clang 14.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /tmp/build-llvm-project/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /tmp/build-llvm-project/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/test-project/build
Bad output (with this patch):
$ CC=clang CXX=clang++ cmake ..
-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is Clang 14.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/test-project/build
Instead of looking in `/usr/lib/x86_64-linux-gnu/` it looks in `/usr/lib/x86_64-pc-linux-gnu/`, which does not exist.
I have no idea where the fix should lie, but it would be good to have a working compiler in the meanwhile.
$ CC=/tmp/build-llvm-project/bin/clang CXX=/tmp/build-llvm-project/bin/clang++ cmake .. --debug-find &> ../log.good
$ rm -rf *
$ CC=clang CXX=clang++ cmake .. --debug-find &> ../log.bad
$ diff -p -U0 ../log.good ../log.bad
--- ../log.good 2021-09-28 18:16:56.232438873 +0300
+++ ../log.bad 2021-09-28 18:17:13.964680087 +0300
@@ -74 +74 @@ CMake Debug Log at /usr/share/cmake-3.21
- NAMES: "/tmp/build-llvm-project/bin/clang"
+ NAMES: "/usr/local/bin/clang"
@@ -93 +93 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/clang
+ /usr/local/bin/clang
@@ -153,4 +152,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ar
- /home/lebedevri/bin/llvm-ar
- /opt/cov-analysis-linux64-8.5.0.1/bin/llvm-ar
-
@@ -188,4 +183,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ranlib
- /home/lebedevri/bin/llvm-ranlib
- /opt/cov-analysis-linux64-8.5.0.1/bin/llvm-ranlib
-
@@ -223 +215 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-strip
+ /usr/local/bin/llvm-strip
@@ -226 +217,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-strip
@@ -259,4 +249,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/ld.lld
- /home/lebedevri/bin/ld.lld
- /opt/cov-analysis-linux64-8.5.0.1/bin/ld.lld
-
@@ -294,4 +280,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-nm
- /home/lebedevri/bin/llvm-nm
- /opt/cov-analysis-linux64-8.5.0.1/bin/llvm-nm
-
@@ -329,4 +311,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-objdump
- /home/lebedevri/bin/llvm-objdump
- /opt/cov-analysis-linux64-8.5.0.1/bin/llvm-objdump
-
@@ -364,4 +342,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-objcopy
- /home/lebedevri/bin/llvm-objcopy
- /opt/cov-analysis-linux64-8.5.0.1/bin/llvm-objcopy
-
@@ -399 +374 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-readelf
+ /usr/local/bin/llvm-readelf
@@ -402 +376,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-readelf
@@ -435 +409 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-dlltool
+ /usr/local/bin/llvm-dlltool
@@ -438 +411,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-dlltool
@@ -471 +444 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-addr2line
+ /usr/local/bin/llvm-addr2line
@@ -474 +446,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-addr2line
@@ -479 +451 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/addr2line
+ /usr/local/bin/addr2line
@@ -482 +453,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/addr2line
@@ -516 +487,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ar-14.0
+ /usr/lib/llvm-14/bin/llvm-ar-14.0
+ /usr/local/bin/llvm-ar-14.0
@@ -519 +490,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-ar-14.0
@@ -524 +495,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ar-14
+ /usr/lib/llvm-14/bin/llvm-ar-14
+ /usr/local/bin/llvm-ar-14
@@ -527 +498,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-ar-14
@@ -561 +532,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ranlib-14.0
+ /usr/lib/llvm-14/bin/llvm-ranlib-14.0
+ /usr/local/bin/llvm-ranlib-14.0
@@ -564 +535,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-ranlib-14.0
@@ -569 +540,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ranlib-14
+ /usr/lib/llvm-14/bin/llvm-ranlib-14
+ /usr/local/bin/llvm-ranlib-14
@@ -572 +543,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-ranlib-14
@@ -587 +558 @@ CMake Debug Log at /usr/share/cmake-3.21
- NAMES: "/tmp/build-llvm-project/bin/clang++"
+ NAMES: "/usr/local/bin/clang++"
@@ -603 +574 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/clang++
+ /usr/local/bin/clang++
@@ -664 +635,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ar-14.0
+ /usr/lib/llvm-14/bin/llvm-ar-14.0
+ /usr/local/bin/llvm-ar-14.0
@@ -667 +638,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-ar-14.0
@@ -672 +643,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ar-14
+ /usr/lib/llvm-14/bin/llvm-ar-14
+ /usr/local/bin/llvm-ar-14
@@ -675 +646,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-ar-14
@@ -709 +680,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ranlib-14.0
+ /usr/lib/llvm-14/bin/llvm-ranlib-14.0
+ /usr/local/bin/llvm-ranlib-14.0
@@ -712 +683,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-ranlib-14.0
@@ -717 +688,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /tmp/build-llvm-project/bin/llvm-ranlib-14
+ /usr/lib/llvm-14/bin/llvm-ranlib-14
+ /usr/local/bin/llvm-ranlib-14
@@ -720 +691,0 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/bin/llvm-ranlib-14
@@ -733 +704 @@ Call Stack (most recent call first):
--- Check for working C compiler: /tmp/build-llvm-project/bin/clang - skipped
+-- Check for working C compiler: /usr/local/bin/clang - skipped
@@ -738 +709 @@ Call Stack (most recent call first):
--- Check for working CXX compiler: /tmp/build-llvm-project/bin/clang++ - skipped
+-- Check for working CXX compiler: /usr/local/bin/clang++ - skipped
@@ -776,2 +747,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/include/x86_64-linux-gnu/include/zlib.h
- /usr/local/include/x86_64-linux-gnu/zlib.h
+ /usr/local/include/x86_64-pc-linux-gnu/include/zlib.h
+ /usr/local/include/x86_64-pc-linux-gnu/zlib.h
@@ -782,2 +753,2 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/include/x86_64-linux-gnu/include/zlib.h
- /usr/include/x86_64-linux-gnu/zlib.h
+ /usr/include/x86_64-pc-linux-gnu/include/zlib.h
+ /usr/include/x86_64-pc-linux-gnu/zlib.h
@@ -889,10 +860,10 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)z(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zlib(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zdll(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zlib1(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zlibstatic(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)z(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zlib(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zdll(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zlib1(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zlibstatic(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)z(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zlib(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zdll(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)z(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zlib(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zdll(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zlib1(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zlibstatic(\.so|\.a)
@@ -919,7 +890,170 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/lib/x86_64-linux-gnu/lib/(lib)z(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zlib(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zdll(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zlib1(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zlibstatic(\.so|\.a)
-
- The item was found at
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)z(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zlib(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zdll(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)z(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zlib(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zdll(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zlib1(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zlibstatic(\.so|\.a)
+ /usr/lib/lib/(lib)z(\.so|\.a)
+ /usr/lib/lib/(lib)zlib(\.so|\.a)
+ /usr/lib/lib/(lib)zdll(\.so|\.a)
+ /usr/lib/lib/(lib)zlib1(\.so|\.a)
+ /usr/lib/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/lib/(lib)z(\.so|\.a)
+ /usr/lib/(lib)zlib(\.so|\.a)
+ /usr/lib/(lib)zdll(\.so|\.a)
+ /usr/lib/(lib)zlib1(\.so|\.a)
+ /usr/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/lib/(lib)z(\.so|\.a)
+ /usr/lib/(lib)zlib(\.so|\.a)
+ /usr/lib/(lib)zdll(\.so|\.a)
+ /usr/lib/(lib)zlib1(\.so|\.a)
+ /usr/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/(lib)z(\.so|\.a)
+ /usr/(lib)zlib(\.so|\.a)
+ /usr/(lib)zdll(\.so|\.a)
+ /usr/(lib)zlib1(\.so|\.a)
+ /usr/(lib)zlibstatic(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)z(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zlib(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zdll(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zlib1(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zlibstatic(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)z(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zlib(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zdll(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zlib1(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zlibstatic(\.so|\.a)
+ /lib/lib/(lib)z(\.so|\.a)
+ /lib/lib/(lib)zlib(\.so|\.a)
+ /lib/lib/(lib)zdll(\.so|\.a)
+ /lib/lib/(lib)zlib1(\.so|\.a)
+ /lib/lib/(lib)zlibstatic(\.so|\.a)
+ /lib/(lib)z(\.so|\.a)
+ /lib/(lib)zlib(\.so|\.a)
+ /lib/(lib)zdll(\.so|\.a)
+ /lib/(lib)zlib1(\.so|\.a)
+ /lib/(lib)zlibstatic(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)z(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zlib(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zdll(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)z(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zlib(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zdll(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zlib1(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zlibstatic(\.so|\.a)
+ /usr/X11R6/lib/lib/(lib)z(\.so|\.a)
+ /usr/X11R6/lib/lib/(lib)zlib(\.so|\.a)
+ /usr/X11R6/lib/lib/(lib)zdll(\.so|\.a)
+ /usr/X11R6/lib/lib/(lib)zlib1(\.so|\.a)
+ /usr/X11R6/lib/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/X11R6/lib/(lib)z(\.so|\.a)
+ /usr/X11R6/lib/(lib)zlib(\.so|\.a)
+ /usr/X11R6/lib/(lib)zdll(\.so|\.a)
+ /usr/X11R6/lib/(lib)zlib1(\.so|\.a)
+ /usr/X11R6/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/X11R6/lib/(lib)z(\.so|\.a)
+ /usr/X11R6/lib/(lib)zlib(\.so|\.a)
+ /usr/X11R6/lib/(lib)zdll(\.so|\.a)
+ /usr/X11R6/lib/(lib)zlib1(\.so|\.a)
+ /usr/X11R6/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/X11R6/(lib)z(\.so|\.a)
+ /usr/X11R6/(lib)zlib(\.so|\.a)
+ /usr/X11R6/(lib)zdll(\.so|\.a)
+ /usr/X11R6/(lib)zlib1(\.so|\.a)
+ /usr/X11R6/(lib)zlibstatic(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)z(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zlib(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zdll(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)z(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zlib(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zdll(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zlib1(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zlibstatic(\.so|\.a)
+ /usr/pkg/lib/lib/(lib)z(\.so|\.a)
+ /usr/pkg/lib/lib/(lib)zlib(\.so|\.a)
+ /usr/pkg/lib/lib/(lib)zdll(\.so|\.a)
+ /usr/pkg/lib/lib/(lib)zlib1(\.so|\.a)
+ /usr/pkg/lib/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/pkg/lib/(lib)z(\.so|\.a)
+ /usr/pkg/lib/(lib)zlib(\.so|\.a)
+ /usr/pkg/lib/(lib)zdll(\.so|\.a)
+ /usr/pkg/lib/(lib)zlib1(\.so|\.a)
+ /usr/pkg/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/pkg/lib/(lib)z(\.so|\.a)
+ /usr/pkg/lib/(lib)zlib(\.so|\.a)
+ /usr/pkg/lib/(lib)zdll(\.so|\.a)
+ /usr/pkg/lib/(lib)zlib1(\.so|\.a)
+ /usr/pkg/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/pkg/(lib)z(\.so|\.a)
+ /usr/pkg/(lib)zlib(\.so|\.a)
+ /usr/pkg/(lib)zdll(\.so|\.a)
+ /usr/pkg/(lib)zlib1(\.so|\.a)
+ /usr/pkg/(lib)zlibstatic(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)z(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zlib(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zdll(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstatic(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)z(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zlib(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zdll(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zlib1(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zlibstatic(\.so|\.a)
+ /opt/lib/lib/(lib)z(\.so|\.a)
+ /opt/lib/lib/(lib)zlib(\.so|\.a)
+ /opt/lib/lib/(lib)zdll(\.so|\.a)
+ /opt/lib/lib/(lib)zlib1(\.so|\.a)
+ /opt/lib/lib/(lib)zlibstatic(\.so|\.a)
+ /opt/lib/(lib)z(\.so|\.a)
+ /opt/lib/(lib)zlib(\.so|\.a)
+ /opt/lib/(lib)zdll(\.so|\.a)
+ /opt/lib/(lib)zlib1(\.so|\.a)
+ /opt/lib/(lib)zlibstatic(\.so|\.a)
+ /opt/lib/(lib)z(\.so|\.a)
+ /opt/lib/(lib)zlib(\.so|\.a)
+ /opt/lib/(lib)zdll(\.so|\.a)
+ /opt/lib/(lib)zlib1(\.so|\.a)
+ /opt/lib/(lib)zlibstatic(\.so|\.a)
+ /opt/(lib)z(\.so|\.a)
+ /opt/(lib)zlib(\.so|\.a)
+ /opt/(lib)zdll(\.so|\.a)
+ /opt/(lib)zlib1(\.so|\.a)
+ /opt/(lib)zlibstatic(\.so|\.a)
+ /usr/lib/X11/lib/(lib)z(\.so|\.a)
+ /usr/lib/X11/lib/(lib)zlib(\.so|\.a)
+ /usr/lib/X11/lib/(lib)zdll(\.so|\.a)
+ /usr/lib/X11/lib/(lib)zlib1(\.so|\.a)
+ /usr/lib/X11/lib/(lib)zlibstatic(\.so|\.a)
+ /usr/lib/X11/(lib)z(\.so|\.a)
+ /usr/lib/X11/(lib)zlib(\.so|\.a)
+ /usr/lib/X11/(lib)zdll(\.so|\.a)
+ /usr/lib/X11/(lib)zlib1(\.so|\.a)
+ /usr/lib/X11/(lib)zlibstatic(\.so|\.a)
+ /registry/lib/(lib)z(\.so|\.a)
+ /registry/lib/(lib)zlib(\.so|\.a)
+ /registry/lib/(lib)zdll(\.so|\.a)
+ /registry/lib/(lib)zlib1(\.so|\.a)
+ /registry/lib/(lib)zlibstatic(\.so|\.a)
+ /registry/(lib)z(\.so|\.a)
+ /registry/(lib)zlib(\.so|\.a)
+ /registry/(lib)zdll(\.so|\.a)
+ /registry/(lib)zlib1(\.so|\.a)
+ /registry/(lib)zlibstatic(\.so|\.a)
+ /zlib/lib/(lib)z(\.so|\.a)
+ /zlib/lib/(lib)zlib(\.so|\.a)
+ /zlib/lib/(lib)zdll(\.so|\.a)
+ /zlib/lib/(lib)zlib1(\.so|\.a)
+ /zlib/lib/(lib)zlibstatic(\.so|\.a)
+ /zlib/(lib)z(\.so|\.a)
+ /zlib/(lib)zlib(\.so|\.a)
+ /zlib/(lib)zdll(\.so|\.a)
+ /zlib/(lib)zlib1(\.so|\.a)
+ /zlib/(lib)zlibstatic(\.so|\.a)
@@ -927 +1061 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/lib/x86_64-linux-gnu/libz.so
+ The item was not found.
@@ -1043,12 +1177,12 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zd(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zlibd(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zdlld(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zd(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zlibd(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zdlld(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zlibd1(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zlib1d(\.so|\.a)
- /usr/local/lib/x86_64-linux-gnu/(lib)zlibstaticd(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zd(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zdlld(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zd(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zlibd(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zdlld(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zlibd1(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zlib1d(\.so|\.a)
+ /usr/local/lib/x86_64-pc-linux-gnu/(lib)zlibstaticd(\.so|\.a)
@@ -1079,12 +1213,12 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/lib/x86_64-linux-gnu/lib/(lib)zd(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zlibd(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zdlld(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/(lib)zd(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/(lib)zlibd(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/(lib)zdlld(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/(lib)zlibd1(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/(lib)zlib1d(\.so|\.a)
- /usr/lib/x86_64-linux-gnu/(lib)zlibstaticd(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zd(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zdlld(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zd(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zlibd(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zdlld(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zlibd1(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zlib1d(\.so|\.a)
+ /usr/lib/x86_64-pc-linux-gnu/(lib)zlibstaticd(\.so|\.a)
@@ -1115,12 +1249,12 @@ CMake Debug Log at /usr/share/cmake-3.21
- /lib/x86_64-linux-gnu/lib/(lib)zd(\.so|\.a)
- /lib/x86_64-linux-gnu/lib/(lib)zlibd(\.so|\.a)
- /lib/x86_64-linux-gnu/lib/(lib)zdlld(\.so|\.a)
- /lib/x86_64-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
- /lib/x86_64-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
- /lib/x86_64-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
- /lib/x86_64-linux-gnu/(lib)zd(\.so|\.a)
- /lib/x86_64-linux-gnu/(lib)zlibd(\.so|\.a)
- /lib/x86_64-linux-gnu/(lib)zdlld(\.so|\.a)
- /lib/x86_64-linux-gnu/(lib)zlibd1(\.so|\.a)
- /lib/x86_64-linux-gnu/(lib)zlib1d(\.so|\.a)
- /lib/x86_64-linux-gnu/(lib)zlibstaticd(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zd(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zlibd(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zdlld(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zd(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zlibd(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zdlld(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zlibd1(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zlib1d(\.so|\.a)
+ /lib/x86_64-pc-linux-gnu/(lib)zlibstaticd(\.so|\.a)
@@ -1139,12 +1273,12 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/X11R6/lib/x86_64-linux-gnu/lib/(lib)zd(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/lib/(lib)zlibd(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/lib/(lib)zdlld(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/(lib)zd(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/(lib)zlibd(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/(lib)zdlld(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/(lib)zlibd1(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/(lib)zlib1d(\.so|\.a)
- /usr/X11R6/lib/x86_64-linux-gnu/(lib)zlibstaticd(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zd(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zdlld(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zd(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zlibd(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zdlld(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zlibd1(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zlib1d(\.so|\.a)
+ /usr/X11R6/lib/x86_64-pc-linux-gnu/(lib)zlibstaticd(\.so|\.a)
@@ -1175,12 +1309,12 @@ CMake Debug Log at /usr/share/cmake-3.21
- /usr/pkg/lib/x86_64-linux-gnu/lib/(lib)zd(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/lib/(lib)zlibd(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/lib/(lib)zdlld(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/(lib)zd(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/(lib)zlibd(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/(lib)zdlld(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/(lib)zlibd1(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/(lib)zlib1d(\.so|\.a)
- /usr/pkg/lib/x86_64-linux-gnu/(lib)zlibstaticd(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zd(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zdlld(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zd(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zlibd(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zdlld(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zlibd1(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zlib1d(\.so|\.a)
+ /usr/pkg/lib/x86_64-pc-linux-gnu/(lib)zlibstaticd(\.so|\.a)
@@ -1211,12 +1345,12 @@ CMake Debug Log at /usr/share/cmake-3.21
- /opt/lib/x86_64-linux-gnu/lib/(lib)zd(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/lib/(lib)zlibd(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/lib/(lib)zdlld(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/(lib)zd(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/(lib)zlibd(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/(lib)zdlld(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/(lib)zlibd1(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/(lib)zlib1d(\.so|\.a)
- /opt/lib/x86_64-linux-gnu/(lib)zlibstaticd(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zd(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zdlld(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zlibd1(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zlib1d(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/lib/(lib)zlibstaticd(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zd(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zlibd(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zdlld(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zlibd1(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zlib1d(\.so|\.a)
+ /opt/lib/x86_64-pc-linux-gnu/(lib)zlibstaticd(\.so|\.a)
@@ -1290 +1424 @@ Call Stack (most recent call first):
--- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
+-- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
@@ -1299,0 +1434 @@ CMake Debug Log at CMakeLists.txt:5 (fin
+ The module is considered not found due to ZLIB_FOUND being FALSE.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107799/new/
https://reviews.llvm.org/D107799
More information about the llvm-commits
mailing list