Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952076 - sys-devel/crossdev masks multilib USE by default.
Summary: sys-devel/crossdev masks multilib USE by default.
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Crossdev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-26 05:12 UTC by dE
Modified: 2025-03-27 02:35 UTC (History)
3 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 dE 2025-03-26 05:12:44 UTC
On trying to build a multilib toolchain, (-A 'xyz xzy'), you'll come to realize that it won't work out of the box because crossdev masks the multilib USE flag in libc and gcc. It has to be unmasked for it to work.

Therefore it's expected that crossdev does not mask multilib USE when -A has been specified.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-26 12:18:21 UTC
(In reply to dE from comment #0)
> On trying to build a multilib toolchain, (-A 'xyz xzy')

'xyz xyz' is not particularly helpful when filing a bug.

> you'll come to
> realize that it won't work out of the box because crossdev masks the
> multilib USE flag in libc and gcc. It has to be unmasked for it to work.
> 

I'm not sure if it's that simple to drop it, it needs some investigation.
Comment 2 James Le Cuirot gentoo-dev 2025-03-26 23:32:32 UTC
I'm well aware and have been working on this. I'm afraid it's not quite that simple. For multilib to work properly, it really needs profile support. I tried to implement that, but it got very messy around riscv and merged-usr. I would like to come back to it soon.
Comment 3 dE 2025-03-27 02:35:19 UTC
(In reply to Sam James from comment #1)
> (In reply to dE from comment #0)
> > On trying to build a multilib toolchain, (-A 'xyz xzy')
> 
> 'xyz xyz' is not particularly helpful when filing a bug.
> 
> > you'll come to
> > realize that it won't work out of the box because crossdev masks the
> > multilib USE flag in libc and gcc. It has to be unmasked for it to work.
> > 
> 
> I'm not sure if it's that simple to drop it, it needs some investigation.

Sorry, in my case -A 'amd64 x86'