<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>I am using Ubuntu 19.10, and I have just installed LLVM-10 as stated here [1].</div>
<div>Whenever I try to compile and link my project using LLVM-10 I get an error like this:</div>
<blockquote>"/usr/lib/llvm-10/lib/XXX.a: error adding symbols: archive has no index; run ranlib to add one"</blockquote>
<div>So, effectively, if I check the index of any of these static libraries I get:</div>
<blockquote># nm -s /usr/lib/llvm-10/lib/libclangTooling.a</blockquote>
<blockquote>nm: AllTUsExecution.cpp.o: file format not recognized</blockquote>
<blockquote>nm: ArgumentsAdjusters.cpp.o: file format not recognized</blockquote>
<blockquote>nm: CommonOptionsParser.cpp.o: file format not recognized</blockquote>
<blockquote>nm: CompilationDatabase.cpp.o: file format not recognized</blockquote>
<blockquote>nm: Execution.cpp.o: file format not recognized</blockquote>
<blockquote>nm: FileMatchTrie.cpp.o: file format not recognized</blockquote>
<blockquote>nm: FixIt.cpp.o: file format not recognized</blockquote>
<blockquote>nm: GuessTargetAndModeCompilationDatabase.cpp.o: file format not recognized</blockquote>
<blockquote>nm: InterpolatingCompilationDatabase.cpp.o: file format not recognized</blockquote>
<blockquote>nm: JSONCompilationDatabase.cpp.o: file format not recognized</blockquote>
<blockquote>nm: Refactoring.cpp.o: file format not recognized</blockquote>
<blockquote>nm: RefactoringCallbacks.cpp.o: file format not recognized</blockquote>
<blockquote>nm: StandaloneExecution.cpp.o: file format not recognized</blockquote>
<blockquote>nm: Tooling.cpp.o: file format not recognized</blockquote>
<br>
<div>My question is, did I installed something wrong? Is this a buggy release or is this just because is under development?</div>
<div>Thank you!</div>
<br>
<div>[1] <a href="https://link.getmailspring.com/link/63670BA1-301C-4062-A459-B52423678394@getmailspring.com/0?redirect=https%3A%2F%2Fapt.llvm.org%2F&recipient=Y2ZlLWRldkBsaXN0cy5sbHZtLm9yZw%3D%3D" title="https://apt.llvm.org/">
https://apt.llvm.org/</a></div>
<div><signature id="initial">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align:top"></td>
<td>
<div>Horro, M.</div>
<div style="font-size:0.9em;border-top:1px solid gray;min-width:250px;max-width:300px;margin-top:4px;padding-top:4px">
<div>
<div></div>
<div><a href="https://link.getmailspring.com/link/63670BA1-301C-4062-A459-B52423678394@getmailspring.com/1?redirect=http%3A%2F%2Fgac.udc.es%2F~horro&recipient=Y2ZlLWRldkBsaXN0cy5sbHZtLm9yZw%3D%3D">http://gac.udc.es/~horro</a></div>
<div></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</signature></div>
</body>
</html>