[Lldb-commits] [clang] [lldb] [llvm] [BOLT] Match functions with name similarity (PR #95884)
LLVM Continuous Integration via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 3 11:42:36 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-shared` running on `bolt-worker` while building `bolt` at step 5 "build-bolt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/151/builds/775
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-bolt) failure: build (failure)
0.010 [90/2/1] Performing build step for 'bolt_rt'
ninja: no work to do.
0.013 [89/2/2] Generating VCSRevision.h
0.020 [7/4/3] No install step for 'bolt_rt'
0.035 [6/4/4] Completed 'bolt_rt'
6.100 [6/3/5] Building CXX object tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/StaleProfileMatching.cpp.o
6.692 [6/2/6] Building CXX object tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o
6.728 [5/2/7] Linking CXX shared library lib/libLLVMBOLTProfile.so.19.0git
FAILED: lib/libLLVMBOLTProfile.so.19.0git
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections -shared -Wl,-soname,libLLVMBOLTProfile.so.19.0git -o lib/libLLVMBOLTProfile.so.19.0git tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/BoltAddressTranslation.cpp.o tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/DataAggregator.cpp.o tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/DataReader.cpp.o tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/Heatmap.cpp.o tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/StaleProfileMatching.cpp.o tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileWriter.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/lib:" lib/libLLVMBOLTCore.so.19.0git lib/libLLVMBOLTUtils.so.19.0git lib/libLLVMTransformUtils.so.19.0git lib/libLLVMSupport.so.19.0git -Wl,-rpath-link,/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/lib && :
ld.lld: error: undefined symbol: llvm::ItaniumPartialDemangler::ItaniumPartialDemangler()
>>> referenced by YAMLProfileReader.cpp
>>> tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o:(llvm::bolt::YAMLProfileReader::matchWithNameSimilarity(llvm::bolt::BinaryContext&) (.localalias))
ld.lld: error: undefined symbol: llvm::demangle[abi:cxx11](std::basic_string_view<char, std::char_traits<char>>)
>>> referenced by YAMLProfileReader.cpp
>>> tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o:(llvm::bolt::YAMLProfileReader::matchWithNameSimilarity(llvm::bolt::BinaryContext&) (.localalias))
ld.lld: error: undefined symbol: llvm::ItaniumPartialDemangler::partialDemangle(char const*)
>>> referenced by YAMLProfileReader.cpp
>>> tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o:(llvm::bolt::YAMLProfileReader::matchWithNameSimilarity(llvm::bolt::BinaryContext&) (.localalias))
>>> referenced by YAMLProfileReader.cpp
>>> tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o:(llvm::bolt::YAMLProfileReader::matchWithNameSimilarity(llvm::bolt::BinaryContext&) (.localalias))
ld.lld: error: undefined symbol: llvm::ItaniumPartialDemangler::getFunctionDeclContextName(char*, unsigned long*) const
>>> referenced by YAMLProfileReader.cpp
>>> tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o:(llvm::bolt::YAMLProfileReader::matchWithNameSimilarity(llvm::bolt::BinaryContext&) (.localalias))
>>> referenced by YAMLProfileReader.cpp
>>> tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o:(llvm::bolt::YAMLProfileReader::matchWithNameSimilarity(llvm::bolt::BinaryContext&) (.localalias))
ld.lld: error: undefined symbol: llvm::ItaniumPartialDemangler::~ItaniumPartialDemangler()
>>> referenced by YAMLProfileReader.cpp
>>> tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/YAMLProfileReader.cpp.o:(llvm::bolt::YAMLProfileReader::matchWithNameSimilarity(llvm::bolt::BinaryContext&) (.localalias))
collect2: error: ld returned 1 exit status
19.233 [5/1/8] Building CXX object tools/bolt/lib/Rewrite/CMakeFiles/LLVMBOLTRewrite.dir/RewriteInstance.cpp.o
ninja: build stopped: subcommand failed.
```
https://github.com/llvm/llvm-project/pull/95884
More information about the lldb-commits
mailing list