<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Ubuntu Hirsute - LLVMgold.so: cannot open shared object file: No such file or directory"
   href="https://bugs.llvm.org/show_bug.cgi?id=49837">49837</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Ubuntu Hirsute  - LLVMgold.so: cannot open shared object file: No such file or directory
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Interprocedural Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>doko@ubuntu.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="https://clang.llvm.org/docs/ThinLTO.html#basic">https://clang.llvm.org/docs/ThinLTO.html#basic</a>

"/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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>