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
(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.
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.
(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'