Bug 111571

Summary: [regression] - /usr/bin/ld: /usr/lib/llvm-9/lib/libclangCodeGen.a: error adding symbols: archive has no index; run ranlib to add one
Product: Mesa Reporter: Fabio Pedretti <pedretti.fabio>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED NOTOURBUG QA Contact: mesa-dev
Severity: not set    
Priority: not set CC: airlied, ajax, nroberts, shtetldik, zegentzy
Version: git   
Hardware: All   
OS: Linux (All)   
i915 platform: i915 features:

Description Fabio Pedretti 2019-09-06 08:12:26 UTC
I get this error when building in Ubuntu eoan/19.10:
/usr/bin/ld: /usr/lib/llvm-9/lib/libclangCodeGen.a: error adding symbols: archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

This build regression happened between f8887909c6683986990474b61afd6d4335a69e41 (which was OK) and 1591d1fee5016a21477edec0d2eb6b2d24221952 (failed). I cannot bisect. I added in CC the four developers having commits in this range.

Full build error:
Comment 1 Michel Dänzer 2019-09-06 09:56:16 UTC
That looks like a problem in the libclang-9-dev package, not in Mesa.
Comment 2 Timo Aaltonen 2019-09-06 11:48:27 UTC
and is filed as a distro bug in

Comment 3 Fabio Pedretti 2019-09-06 11:50:22 UTC
Let's close this one then.
Comment 4 Guru Randhawa 2019-09-06 23:31:51 UTC Comment hidden (spam)
Comment 5 Michel Dänzer 2019-09-09 16:36:34 UTC
*** Bug 111580 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.