Past iteration of a sys-libs/libunwind[-static-libs] default was a bug #612602 where 'clang -static' was mentioned as one of use cases that should work by default and thus USE=static-libs was kept for sys-libs/libcxxabi. Now question of defaults came up again as libunwind grew extra optional zlib depend (enabled by default profile) and optional lzma depend (disabled by default). toolchain@ could flip a sys-libs/libunwind[-static-libs] default again if llvm@ agrees to follow (or rather start). Otherwise we'll need start proliferating static-libs back to zlib and possibly lzma to make defaults less problematic. Planned change: --- libunwind-1.5.0.ebuild 2020-12-17 17:06:12.000000000 +0000 +++ libunwind-1.5.0-r1.ebuild 2020-12-17 17:07:40.000000000 +0000 @@ -15,4 +15,4 @@ SLOT="0/8" # libunwind.so.8 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 ~amd64-linux ~x86-linux" -IUSE="debug debug-frame doc libatomic lzma +static-libs zlib" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug debug-frame doc libatomic lzma static-libs zlib" WDYT?
I'm all for disabling static-libs by default. I don't think static libc++ builds are killer feature for most of our users.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1f5cfcb5edc8de26883557bc352969331b9fa5 commit 7a1f5cfcb5edc8de26883557bc352969331b9fa5 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-01-03 10:13:27 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-01-03 10:13:27 +0000 sys-libs/libunwind: don't enable USE=static-libs by default (take 2) Let's do only dynamic libraries by default. That way we avoid USE=static-libs conflict on: - sys-libs/zlib (default disabled) - app-arch/xz-utils (default disabled) The only user that expects sys-libs/libunwind[static-libs] is sys-libs/libcxxabi (+libunwind +static-libs). It will be fixed in https://bugs.gentoo.org/760504. Bug: https://bugs.gentoo.org/760504 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 107 +++++++++++++++++++++++++++ 1 file changed, 107 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813d3bab893e257e2315cb9ba1c96dbb3c359179 commit 813d3bab893e257e2315cb9ba1c96dbb3c359179 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-02-07 06:53:42 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-02-07 06:56:43 +0000 sys-libs/libcxx: disable USE=static-libs by default Bug: https://bugs.gentoo.org/760504 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/libcxx/libcxx-10.0.1.ebuild | 4 ++-- sys-libs/libcxx/libcxx-11.0.0.ebuild | 2 +- sys-libs/libcxx/libcxx-11.0.1.ebuild | 2 +- sys-libs/libcxx/libcxx-11.1.0_rc1.ebuild | 2 +- sys-libs/libcxx/libcxx-11.1.0_rc2.ebuild | 2 +- sys-libs/libcxx/libcxx-12.0.0.9999.ebuild | 2 +- sys-libs/libcxx/libcxx-12.0.0_rc1.ebuild | 2 +- sys-libs/libcxx/libcxx-13.0.0.9999.ebuild | 2 +- sys-libs/libcxx/libcxx-9.0.1.ebuild | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7efebd7f39451b58ea044854552699b798e747e1 commit 7efebd7f39451b58ea044854552699b798e747e1 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-02-07 06:51:40 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-02-07 06:56:42 +0000 sys-libs/libcxxabi: disable USE=static-libs by default Bug: https://bugs.gentoo.org/760504 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/libcxxabi/libcxxabi-10.0.1.ebuild | 4 ++-- sys-libs/libcxxabi/libcxxabi-11.0.0.ebuild | 2 +- sys-libs/libcxxabi/libcxxabi-11.0.1.ebuild | 2 +- sys-libs/libcxxabi/libcxxabi-11.1.0_rc1.ebuild | 2 +- sys-libs/libcxxabi/libcxxabi-11.1.0_rc2.ebuild | 2 +- sys-libs/libcxxabi/libcxxabi-12.0.0.9999.ebuild | 2 +- sys-libs/libcxxabi/libcxxabi-12.0.0_rc1.ebuild | 2 +- sys-libs/libcxxabi/libcxxabi-13.0.0.9999.ebuild | 2 +- sys-libs/libcxxabi/libcxxabi-9.0.1.ebuild | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd3b24a02784a2e772fb995ad69a80710f1bc0a commit cdd3b24a02784a2e772fb995ad69a80710f1bc0a Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-02-07 06:50:05 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-02-07 06:56:42 +0000 sys-libs/llvm-libunwind: disable USE=static-libs by default Bug: https://bugs.gentoo.org/760504 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.ebuild | 4 ++-- sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.ebuild | 4 ++-- sys-libs/llvm-libunwind/llvm-libunwind-11.0.1.ebuild | 2 +- sys-libs/llvm-libunwind/llvm-libunwind-11.1.0_rc1.ebuild | 2 +- sys-libs/llvm-libunwind/llvm-libunwind-11.1.0_rc2.ebuild | 2 +- sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild | 2 +- sys-libs/llvm-libunwind/llvm-libunwind-12.0.0_rc1.ebuild | 2 +- sys-libs/llvm-libunwind/llvm-libunwind-13.0.0.9999.ebuild | 2 +- sys-libs/llvm-libunwind/llvm-libunwind-9.0.1.ebuild | 4 ++-- 9 files changed, 12 insertions(+), 12 deletions(-)
*** Bug 768978 has been marked as a duplicate of this bug. ***
I think all related packages are sorted out. Closing.