Summary: | LLVM changed output of llvm-config, again | ||
---|---|---|---|
Product: | Mesa | Reporter: | Krzysztof A. Sobiecki <sobkas> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Is there even a point? |
(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.) (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. (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. It should be fixed soon. (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.
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.