Subject: Re: fluxbox and -funroll-loops
To: None <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 08/31/2004 06:32:58
On Tue, Aug 31, 2004 at 12:06:43AM +0200, Julio M. Merino Vidal wrote:
> I added -funroll-loops in my C{,XX}FLAGS and fluxbox doesn't compile.  Well,
> in fact it compiles up to, but at that point gcc seems to hang
> (it has been running for more than eight minutes consuming cpu).  Removing
> the flag lets it compile very fast.
> This is under NetBSD 2.0G, that is, with gcc 3.3.3nb3.  Could anybody try
> to reproduce?
> Should we do anything here to prevent such problems hitting other people?
> For example, remove those flags from fluxbox's Makefile and add an entry
> in HACKS?

If this is reproducible under a certain set of conditions, then
committing a fix for this and adding a HACKS entry is appropriate.
I would recommend adding:

	.if ...
	BUILDLINK_TRANSFORM+=	rm:-funroll-loops

to pkgsrc/wm/fluxbox/Makefile to enforce this restriction.


	-- Johnny Lam <>