[llvm-dev] Weird error message when using ar/nm/ranlib

K Jelesnianski via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 11 17:27:50 PDT 2020


Dear LLVM community,

I currently am experiencing an odd phenomenon with the gnu utils such as
ar/nm/ranlib
The reason I am reaching out to the LLVM community about this is because
this started shortly after I began playing with and enabled LTO and
replaced these gnu utilities with binutils version i compiled myself from
source. (after saving a backup of the utils of course)

I get the following output when compiling various programs on my machine:

nm: libLLVMAArch64CodeGen.so.9svn: cannot open shared object file: No such
file or directory

ar: libLLVMAArch64CodeGen.so.9svn: cannot open shared object file: No such
file or directory

This happens with any compilation involving these utilities. And the
utilities ~~work~~ but i always get this message and its driving me up the
wall from my inexperience of what could be the root cause. I tried
replacing the utils with the ones that were originally on the machine and
still i get the same issues. Any guesses are much appreciated.

Sincerely,

Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200811/d966b620/attachment.html>


More information about the llvm-dev mailing list