Subject: Re: *very* slow C++-compiler
To: Jochen Scharrlach <jscharrl@BA-Stuttgart.De>
From: Chris Gilbert <cg110@york.ac.uk>
List: port-arm32
Date: 05/05/1997 11:30:17
Hi,

On Sun, 4 May 1997, Jochen Scharrlach wrote:

> Hi,
> 
> I'am just trying to compile the qt-library and compiling the C++-parts
> is awfully slow: though the compiler gets over 90% of the user
> cpu-time (more than 15M free!) the system often consumes up to 98% of
> the cpu! This means that compiling a single file can last over an hour
> :((

Not unheard of I used to have this problem, that's when I used bash as my
shell, for some reason bash seems to make the system go sky high, this was
a bane for about a week until I tried it with a user with tcsh and it
worked fine :)  Try changing shell.
 
> "often" means, that sometimes if I start "make", everything goes fine
> but sooner or later the compiler hangs - the system stays usable,
> though. One effect I noticed was that the compiler only uses 2Meg
> while hanging, but a lot more when it works normally. The C-compiler
> works fine, BTW.

I'd suggest using the kernel that has libkern asm routines but I've not
done one with cumana support (ain't got csc.o, another thing to do today)

> My system: StrongARM, 32MB, Cumana II + 3GB Fireball, cc2721p1,
> sa110_4958 

Have you got the latest .mk files in /usr/share/mk ?  if you've not try
downloading them from src/share/mk and copying them into /usr/share/mk
(they need to owned by bin.bin and chmoded to a+r) 

Chris