Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686280 - multilib-build.eclass: Support for ppc64 multilib profile
Summary: multilib-build.eclass: Support for ppc64 multilib profile
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-19 03:51 UTC by Samuel Holland
Modified: 2021-12-20 06:04 UTC (History)
2 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 Samuel Holland 2019-05-19 03:51:41 UTC
Commit 545f41df4c2d596906ec121928fb77681185c458 broke the ability to create a multilib profile on PowerPC. While no such profile currently exists in the tree, I use one locally (https://github.com/smaeul/portage/tree/ppc64/make.profile). Until my last `emerge --sync`, it worked well.

This change silently broke that -- the ABI_PPC USE_EXPAND variable and all of its values still exist, so no USE flags changed; however, when I updated sys-libs/musl, it silently deleted my 32-bit libc. Thankfully, sys-devel/gcc failed to build its target libraries without a 32-bit libc, or this would have destroyed my multiarch/multilib setup.

I can (and will) patch around this locally, but this apparently purely cosmetic change causes real breakage. Please revert it!

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-05-19 04:52:56 UTC
ABI_PPC USE flags are actually seen as disappearing in `emerge` output:

[ebuild   R    ] category/package...   USE="..." ... ABI_PPC="(-32%) (-64%)" ...
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-05-19 06:24:45 UTC
It's not a cosmetic change.  It was a change necessary to resume services killed by lack of resources to support this many flags.  I'm sorry but we can't revert it until we are able to fix pkgcheck or redesign the whole multilib, whichever comes first.

We can reintroduce ppc multilib flags if riscv reverts their multilib that caused the breakage in the first place.

Do you have any actual software needing 32-bit libraries?  Given you mentioning musl, I honestly doubt any prebuilt software works on your system.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2021-02-01 19:00:54 UTC
> We can reintroduce ppc multilib flags if riscv reverts their multilib that
> caused the breakage in the first place.
> 
> Do you have any actual software needing 32-bit libraries?  Given you
> mentioning musl, I honestly doubt any prebuilt software works on your system.

riscv multilib useflags are gone for a while now, so in principle ppc could go again...