[lld] [LLD, MachO] Default objc_relative_method_lists on MacOS11+/iOS14+ (PR #101360)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 13:47:08 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on `linaro-lldb-arm-ubuntu` while building `lld` at step 4 "build".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/1902

Here is the relevant piece of the build log for the reference:
```
Step 4 (build) failure: build (failure)
...
50.025 [21/34/6203] Linking CXX executable bin/llvm-objdump
50.029 [20/34/6204] Linking CXX executable bin/llvm-mc
50.040 [20/33/6205] Generating ../../bin/llvm-otool
50.206 [20/32/6206] Linking CXX executable bin/llvm-jitlink
50.248 [20/31/6207] Linking CXX executable bin/clang-import-test
50.350 [20/30/6208] Linking CXX executable bin/lli
50.481 [20/29/6209] Linking CXX executable bin/llvm-exegesis
52.235 [20/28/6210] Linking CXX executable bin/clang-extdef-mapping
54.180 [20/27/6211] Linking CXX executable bin/lldb-server
56.942 [20/26/6212] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o
FAILED: tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lld/MachO -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lld/MachO -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lld/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lld/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/llvm/../libunwind/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o -MF tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o.d -o tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o -c /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lld/MachO/Driver.cpp
../llvm-project/lld/MachO/Driver.cpp:1073:8: error: no matching function for call to 'greaterEqMinVersion'
 1073 |   if (!greaterEqMinVersion(minVersion, true))
      |        ^~~~~~~~~~~~~~~~~~~
../llvm-project/lld/MachO/Driver.cpp:1051:13: note: candidate template ignored: substitution failure: deduced non-type template argument does not have the same type as the corresponding template parameter ('unsigned int' vs 'unsigned long')
 1051 | static bool greaterEqMinVersion(const MinVersions<N> &minVersions,
      |             ^
../llvm-project/lld/MachO/Driver.cpp:1136:10: error: no matching function for call to 'greaterEqMinVersion'
 1136 |   return greaterEqMinVersion(minVersion, false);
      |          ^~~~~~~~~~~~~~~~~~~
../llvm-project/lld/MachO/Driver.cpp:1051:13: note: candidate template ignored: substitution failure: deduced non-type template argument does not have the same type as the corresponding template parameter ('unsigned int' vs 'unsigned long')
 1051 | static bool greaterEqMinVersion(const MinVersions<N> &minVersions,
      |             ^
../llvm-project/lld/MachO/Driver.cpp:1160:10: error: no matching function for call to 'greaterEqMinVersion'
 1160 |   return greaterEqMinVersion(minVersion, true);
      |          ^~~~~~~~~~~~~~~~~~~
../llvm-project/lld/MachO/Driver.cpp:1051:13: note: candidate template ignored: substitution failure: deduced non-type template argument does not have the same type as the corresponding template parameter ('unsigned int' vs 'unsigned long')
 1051 | static bool greaterEqMinVersion(const MinVersions<N> &minVersions,
      |             ^
3 errors generated.
56.958 [20/25/6213] Linking CXX executable bin/llvm-gsymutil
57.138 [20/24/6214] Linking CXX executable bin/llvm-c-test
57.430 [20/23/6215] Linking CXX executable bin/llvm-dwp
58.502 [20/22/6216] Linking CXX executable bin/llvm-split
59.162 [20/21/6217] Linking CXX executable bin/llvm-dwarfutil
60.628 [20/20/6218] Linking CXX executable bin/llvm-isel-fuzzer
62.428 [20/19/6219] Linking CXX executable bin/llvm-opt-fuzzer
62.533 [20/18/6220] Linking CXX executable bin/dsymutil
63.593 [20/17/6221] Linking CXX shared library lib/libLTO.so.20.0git
64.704 [20/16/6222] Linking CXX executable bin/clang-nvlink-wrapper
67.709 [20/15/6223] Linking CXX executable bin/llvm-lto
69.570 [20/14/6224] Linking CXX executable bin/clang-linker-wrapper
70.974 [20/13/6225] Linking CXX executable bin/llc
71.426 [20/12/6226] Linking CXX executable bin/lldb-instr
71.541 [20/11/6227] Linking CXX executable bin/llvm-reduce
71.979 [20/10/6228] Linking CXX executable bin/opt
72.167 [20/9/6229] Linking CXX executable bin/llvm-lto2
74.443 [20/8/6230] Linking CXX executable bin/bugpoint

```

https://github.com/llvm/llvm-project/pull/101360


More information about the llvm-commits mailing list