Subject: Re: fluxbox and -funroll-loops
To: None <tech-pkg@NetBSD.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 08/31/2004 10:30:12
--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

"Johnny C. Lam" <jlam@NetBSD.org> wrote:
> On Tue, Aug 31, 2004 at 12:06:43AM +0200, Julio M. Merino Vidal wrote:
> >=20
> > I added -funroll-loops in my C{,XX}FLAGS and fluxbox doesn't compile.  =
Well,
> > in fact it compiles up to fluxbox.cc, but at that point gcc seems to ha=
ng
> > (it has been running for more than eight minutes consuming cpu).  Remov=
ing
> > the flag lets it compile very fast.
=20
> If this is reproducible under a certain set of conditions, then
> committing a fix for this and adding a HACKS entry is appropriate.

I don't think that's necessary.  I don't believe that our packages
should try to compile every package with every possible CFLAG and then
add the necessary transforms just in case the user chooses to add that
CFLAG manually.

<strawm=E6n>
Are we going to add

BUILDLINK_TRANSFORM+=3D	rm:-illegal-flag

on the off chance that the user adds "-illegal-flag" to his/her CFLAGS?
</strawman>

,-)

(Unless, of course, I misunderstand the question and "-funroll-loops" is
actually added automatically to the CFLAGS by the package or by pkgsrc.)

-Jan

--=20
Tradition is the illusion of permanence. -- Woody Allen

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFBNIt0fFtkr68iakwRAmZwAKCqXcE6Dsl3zQZspcLNaDWHPACPkgCg3XME
IFvCHlIWW1uAEE5aOMF1iY0=
=qbtB
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--