[PATCH] D118009: [ARM] Make getInstSizeInBytes() use instruction size from InstrInfo.td
Aaron H Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 1 16:21:40 PST 2022
AaronLiu added a comment.
This caused many(57 for now) LoP-LE build failures without being fixed (first build failure: https://lab.llvm.org/buildbot/#/builders/57/builds/14559), and also blocked many downstream build bots:
186.515 [21/53/841] Linking CXX executable unittests/Target/ARM/ARMTests
FAILED: unittests/Target/ARM/ARMTests
: && /home/buildbots/clang.11.0.0/bin/clang++ --gcc-toolchain=/opt/rh/devtoolset-7/root/usr -fPIC -fvisibility-inlines-hidden -Werror -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--gc-sections unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.o unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.o -o unittests/Target/ARM/ARMTests -Wl,-rpath,/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib lib/libLLVMARMCodeGen.so.14git lib/libLLVMARMDesc.so.14git lib/libLLVMARMInfo.so.14git lib/libLLVMGlobalISel.so.14git lib/libLLVMMIRParser.so.14git lib/libLLVMSelectionDAG.so.14git -lpthread lib/libgtest_main.so.14git lib/libgtest.so.14git -lpthread lib/libLLVMCodeGen.so.14git lib/libLLVMTarget.so.14git lib/libLLVMMC.so.14git lib/libLLVMSupport.so.14git -Wl,-rpath-link,/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib && :
/opt/rh/devtoolset-7/root/usr/lib/gcc/ppc64le-redhat-linux/7/../../../../bin/ld: unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.o: undefined reference to symbol '_ZN4llvm10DataLayout5clearEv'
/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib/libLLVMCore.so.14git: error adding symbols: DSO missing from command line
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
289.769 [21/2/892] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o
ninja: build stopped: subcommand failed.
program finished with exit code 1
elapsedTime=424.974897
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118009/new/
https://reviews.llvm.org/D118009
More information about the llvm-commits
mailing list