On 09/13/14 05:47, Markos Chandras wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Here is some weirdness with eg mips64/n32 multilib profile when trying
a world update

[ebuild     U  ] sys-devel/libtool-2.4.2-r1:2 [2.4.2:2]
USE="-static-libs {-test} -vanilla" ABI_MIPS="(n32%*) o32%* -n64%" 0 kB

As you can see n32 and o32 are enabled but n64 is not. Obviously this
is not full mips64 multilib. This is probably due the portage profile
stacking/inheritance problems on mips64, where the mips64/multilib
profiles inherit the default o32 one. Michal (multilib CC'd) can
provide more information on what exactly goes wrong since he
understands the problem better than me. Michal also said that on
amd64, the multilib profiles defaults to 64-bit only. I believe this
contradicts with what someone expects from MIPS64 where all three ABIs
need to be present *by default* unless you override the ABI_MIPS
variable in make.conf. Correct?

- -- Regards,
Markos Chandras
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJUFBLFXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGRDlGMzA4MUI2MzBDODQ4RDBGOEYxMjQx
RjEwRUQ0QjgxREVCRjE5AAoJEB8Q7UuB3r8Z6JQH/AkuGs0pE5mshn/pGiz3cb/p
43Ksh/ZBd7z9gB54o/QeK/GnqxgkG5y4koX0rs+35SAjYCkYS3Nc7Aa0DSA0o/Mz
z6FGkOxBRBwb6jmJ8ujKYZXC6rMgHY1kA9xx2qLK+WplIsLE5tx/Tsixqa4/6XuK
28BN41A1W4kaeB9Rtlv9Mt9OFEfTPiUqSkzyHpm1fKT60O6kq0Jba3Mh15w7IKJn
HUWCy92doVpcpip+wn//reoV+logtRL8616juHGNVRMXN4ZuLHl99IJXzjh/4Fu2
9KOb+H7NgpSQIUklg8l8XV577dZAYOaZUp+sqgu0ymbZmmO1mOButiOceXxAh/Q=
=8P/6
-----END PGP SIGNATURE-----


Yes I know the issue but have not gotten around to fixing it and won't anytime soon since I' struggling with real life (like getting the electric company to fix my power!)

I don't agree that we want all three abi's by default on all binaries. What we want is the three abis for the toolchain, and the option to turn on/off the other abis besides the default abi which should be on. Ideally this should be

    ABI_MIPS="(n32%*) -o32%* -n64%"

Needs to be done is

1) add -abi_mips_o32 to use.force in /usr/portage/profiles/arch/mips/mips64/n32 and similarly for the other profiles. This allows one to turn off o32, otherwise its forced on.

2) add USE="${USE} -abi_mips_o32" to make.default. This turns it off by default, but the user can turn it back on.

You should do this for all the mips64/multilibs and mips64el's.

--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail    : [email protected]
GnuPG FP  : 1FED FAD9 D82C 52A5 3BAB  DC79 9384 FA6E F52D 4BBA
GnuPG ID  : F52D4BBA


Reply via email to