Bug 75919 - LLVM changed output of llvm-config, again
Summary: LLVM changed output of llvm-config, again
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-08 20:46 UTC by Krzysztof A. Sobiecki
Modified: 2014-03-18 13:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Is there even a point? (545 bytes, text/plain)
2014-03-08 20:46 UTC, Krzysztof A. Sobiecki
Details

Description Krzysztof A. Sobiecki 2014-03-08 20:46:56 UTC
Created attachment 95368 [details]
Is there even a point?

llvm-config-3.5 --version now prints 3.5.0 instead of 3.5.
config is unable to find a shared llvm library if there is only one so. It searches for a libLLVM-3.5.0.so but only libLLVM-3.5.so exists.
Comment 1 Dave Witbrodt 2014-03-09 13:50:46 UTC
(In reply to comment #0)
> Created attachment 95368 [details]
> Is there even a point?
> 
> llvm-config-3.5 --version now prints 3.5.0 instead of 3.5.
> config is unable to find a shared llvm library if there is only one so. It
> searches for a libLLVM-3.5.0.so but only libLLVM-3.5.so exists.

Thanks Krzysztof!  I've been trying to get shared LLVM 3.5 working again, and you found the fix.  (More details at comment 2 of bug 75929.)
Comment 2 Tom Stellard 2014-03-09 17:28:20 UTC
(In reply to comment #0)
> Created attachment 95368 [details]
> Is there even a point?
> 
> llvm-config-3.5 --version now prints 3.5.0 instead of 3.5.
> config is unable to find a shared llvm library if there is only one so. It
> searches for a libLLVM-3.5.0.so but only libLLVM-3.5.so exists.

Are you using cmake or autoconf to build LLVM?  I use autoconf and on my system
llvm-config --version reports 3.5.0 and llvm install libLLVM-3.5.0.so and also a symlink from libLLVM-3.5.0.so to libLLV-3.5.so.
Comment 3 Krzysztof A. Sobiecki 2014-03-09 20:31:15 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > Created attachment 95368 [details]
> > Is there even a point?
> > 
> > llvm-config-3.5 --version now prints 3.5.0 instead of 3.5.
> > config is unable to find a shared llvm library if there is only one so. It
> > searches for a libLLVM-3.5.0.so but only libLLVM-3.5.so exists.
> 
> Are you using cmake or autoconf to build LLVM?  I use autoconf and on my
> system
> llvm-config --version reports 3.5.0 and llvm install libLLVM-3.5.0.so and
> also a symlink from libLLVM-3.5.0.so to libLLV-3.5.so.

I use packages from:
http://llvm.org/apt/unstable/pool/main/l/llvm-toolchain-snapshot/
After a short look into it, I think that there is a small bug in it.

One package populates link farm in usr/lib/llvm-3.5/lib/ and while it links
usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-3.5.so.1       usr/lib/llvm-3.5/lib/libLLVM-3.5.so
it doesn't do the same for 3.5.0 variant.

Mystery solved, time to poke the maintainer.
Comment 4 Krzysztof A. Sobiecki 2014-03-09 21:24:05 UTC
It should be fixed soon.
Comment 5 Dave Witbrodt 2014-03-18 13:25:11 UTC
(In reply to comment #4)
LLVM 3.5 packages for Debian at llvm.org/apt have been fixed for about a week.

Looks like I need a patch from bug 70410 to build Mesa for RadeonSI, though.


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.