Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578392 - sys-devel/llvm-3.8.0: static libraries are installed instead of shared, once again
Summary: sys-devel/llvm-3.8.0: static libraries are installed instead of shared, once ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2016-03-27 17:53 UTC by Michał Górny
Modified: 2016-10-04 10:24 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-27 17:53:01 UTC
With llvm-3.8, there's only libLLVM-3.8.so and libclang.so.3.8. All component libraries are static again instead of shared which is a major regression, considering how much effort we put into making it work properly as shared libs.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-28 16:56:17 UTC
Worse than that, looks like upstream has removed soversions on split libraries for some reason.
Comment 2 Bernard Cafarelli gentoo-dev 2016-03-29 07:54:14 UTC
That was following upstream recommendation:
http://llvm.org/releases/3.8.0/docs/CMake.html#llvm-specific-variables
"BUILD_SHARED_LIBS is only recommended for use by LLVM developers. If you want to build LLVM as a shared library, you should use the LLVM_BUILD_LLVM_DYLIB option."

And there was still the shared library with LLVM_LINK_LLVM_DYLIB… Also lldb does not compile in 3.8 with shared libs, so llvm-3.8.0-r1 ebuild probably broke it
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-04-11 07:13:35 UTC
That's weird. llvm-3.8.0-r1 builds fine for me with lldb enabled. Though lldb has static libs but it was like this since it was added, so no regression here.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-10-04 06:38:34 UTC
Patch for this landed upstream, and is backported to 3.9.0. 3.8.* use the old patch, and I think we can close this.