Gentoo Archives: gentoo-sparc

From: Gustavo Zacarias <gustavoz@g.o>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] >=sys-devel/gcc-3.4 on Sparc U5 SeLinux
Date: Mon, 10 Jul 2006 15:41:24
In Reply to: [gentoo-sparc] >=sys-devel/gcc-3.4 on Sparc U5 SeLinux by gentuxx
Hash: SHA1

gentuxx wrote:

> I'm in the process of migrating my U5 system to an SELinux profile. > Thanks to Gustavo Zacarias and his excellent kernel work, I've managed > to get through the most of the migration guide (after an ugly battle > trying to get a functional hardened-sources kernel). Now I'm sort of > at a "time to jump off the cliff" point. I'm booted in the new > environment, with the hardened kernel, selinux profile, selinux policy > tools, and selinux base policy. I'm about to run an `emerge -DuatvN > world' to pull in all of the remaining selinux-policy packages, and > recompile installed packages that need it with the new USE flags. > But, alas, if it were only that easy. > > Emerge fails right away stating "All ebuilds that could satisfy > ">=sys-devel/gcc-3.4" have been masked.". All of the versions are > masked by profile (and missing keyword). So my question is three-fold:
I'd venture to say the SELinux profile hasn't been updated/tested in some time. It's handled by the selinux/hardened team so we can't help much there.
> 1) If I put '<=sys-devel/gcc-4.2.0 ~sparc' in the > /etc/portage/package.keywords file, will that satisfy the masking and > allow me to install gcc-4.1.1-r1- even if it's masked by my profile? > > 2) I am currently running the selinux/2005.1/sparc64 profile. Is > there a newer one that would satisfy the above maskings? If so, what > do I need to emerge to get it on my system? Portage? I'm already > running portage-2.1-r1.
I'd say try with the current stable toolchain for sparc rather than venturing into higher things.
> 3) Finally, what are your experiences with running a newer (>=4.0) > version of gcc on sparc? I want this system to be rock solid, so I'm > a little apprehensive about unmasking and running the > newest-greatest-fastest gcc, being such a fundamental part of a gentoo > system.
The greatest and fastest gcc won't let you emerge system as it currently stands. Mostly other ebuilds need fixing, out of the top of my head linux-headers needs love and at least kbd will break without it. - -- Gustavo Zacarias Gentoo/SPARC monkey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - iD4DBQFEsnTjV3G/IBCn/JARAo/LAJd4DOD3O+Pbr+1ZP9rLKRRWp7oVAJ9I3vgI b5tvpLGeg/O48Se8kDvbeg== =Q2BK -----END PGP SIGNATURE----- -- gentoo-sparc@g.o mailing list


Subject Author
Re: [gentoo-sparc] >=sys-devel/gcc-3.4 on Sparc U5 SeLinux gentuxx <gentuxx@×××××.com>