-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi list!
The AMD64 Porting Team currently faces a problem concerning USE-Flags that trigger usage of handwritten assembler code in certain packages. The mentioned sourcecodes are nearly all written in x86 assembler. However, the new mplayer versions contains amd64 assembler code. To use it, the "sse" USE-Flag has to be set, which is currently use.mask'ed. We can't unmask it, as this would break all the other ebuilds that currently "use sse"!
Solving the problem at hand would mean a 3-step conversion:
1) Each ebuild that actually uses one of the USE-Flags specified in
~ asm.eclass:ASM_USEFLAGS="sse sse2 mmx mmx2 3dnow 3dnowext"
will have to inherit asm.eclass [1]. This would mean changes to approx. 150 ebuilds in the tree.
2) The specified USE-Flags get unmasked.
3) Each ebuild that features both amd64 and x86 assembler for USE-Flag "foo" will have to include the following line
~ bar.ebuild:ASM_ARCHS_FOO="x86 amd64"
As it inherits asm.eclass, the use() function has been modified to check whether both the USE-Flag is set AND the USE-Flag is available for the particular architecture.
I think the ppc64 team could benefit of this eclass as well when sources emerge that feature ppc64 altivec assembler.
Comments ?
Danny
[1] http://dev.gentoo.org/~kugelfang/asm.eclass
- -- Danny van Dyk Gentoo Developer Gentoo/AMD64, Gentoo/Science [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB4WHYaVNL8NrtU6IRAh+XAJ48MF4afGQYgNlZ3GMsyQsMBZ5QVwCfYfmp QGK4F8jlaIJK4sCo3LThbno= =j+ne -----END PGP SIGNATURE-----
-- [email protected] mailing list
