[llvm-bugs] [Bug 49837] New: Ubuntu Hirsute - LLVMgold.so: cannot open shared object file: No such file or directory
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Apr 4 14:44:58 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=49837
Bug ID: 49837
Summary: Ubuntu Hirsute - LLVMgold.so: cannot open shared
object file: No such file or directory
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: Interprocedural Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: sylvestre at debian.org
CC: doko at ubuntu.com, llvm-bugs at lists.llvm.org
Not sure why but the new Ubuntu, the LLVMgold isn't built.
The issue doesn't happen with debian unstable
This is the error referenced here:
https://clang.llvm.org/docs/ThinLTO.html#basic
"/root/llvm-toolchain-snapshot-13~++20210404104410+c4c511337247/build-llvm/./bin/clang++"
-fPIC -fuse-ld=gold -fPIC -Wno-unused-command-line-argument
-Wno-unknown-warning-option -fPIC -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-class-memaccess -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -ffunction-sections -fdata-sections -Wall -std=c++14
-Wno-unused-parameter -O2 -DNDEBUG -g1 -m64 -Wl,-z,defs,-z,now,-z,relro
-ffunction-sections -fdata-sections -Wl,--gc-sections -nostdlib++ -pthread
-Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,defs -Wl,-z,nodelete
-Wl,-z,defs -Wl,-z,nodelete -shared
-Wl,-soname,libclang_rt.scudo_standalone-x86_64.so -o
../../../../../lib/clang/13.0.0/lib/linux/libclang_rt.scudo_standalone-x86_64.so
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/checksum.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/common.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/crc32_hw.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/flags_parser.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/flags.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/fuchsia.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/linux.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/release.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/report.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/string_utils.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/wrappers_c.cpp.o
CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/wrappers_cpp.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/common.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/crash_handler.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/platform_specific/common_posix.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/platform_specific/guarded_pool_allocator_posix.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/platform_specific/mutex_posix.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/platform_specific/utilities_posix.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/guarded_pool_allocator.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/stack_trace_compressor.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsanBacktraceLibc.x86_64.dir/optional/backtrace_linux_libc.cpp.o
../../gwp_asan/CMakeFiles/RTGwpAsanSegvHandler.x86_64.dir/optional/segv_handler_posix.cpp.o
-Wl,-rpath,"\$ORIGIN/../lib"
/usr/bin/ld.gold: error:
/root/llvm-toolchain-snapshot-13~++20210404104410+c4c511337247/build-llvm/bin/../lib/LLVMgold.so:
could not load plugin library:
/root/llvm-toolchain-snapshot-13~++20210404104410+c4c511337247/build-llvm/bin/../lib/LLVMgold.so:
cannot open shared object file: No such file or directory
clang-13: error: linker command failed with exit code 1 (use -v to see
invocation)
I didn't see any change in the binutils-dev package
--
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/20210404/a85ddfa8/attachment.html>
More information about the llvm-bugs
mailing list