Subject: lint issues with larger caches
To: None <>
From: John Klos <>
List: tech-toolchain
Date: 09/21/2005 17:14:58

A while ago, I reported problems using NetBSD 2's on a 7457 G4 
which has 512k of CPU speed L2 cache. The problem was that the source tree 
built lint kept randying on signal 11. For other reasons, I switched back 
to the 7455 (256k of L2), and still saw the same problem, but with much 
less frequency.

My previous email regarding this:

Now that I have a local system where I am testing a 7447a CPU (which also 
has 512k of CPU speed L2), I played with this a little, and it seems that 
the problem goes away completely when lint is compiled with -O0.

Would anyone object to me committing the following change to 

> # PowerPC processors with large and fast L2 caches (such as the
> # 7447 and 7457) have problems with lint unless compiled with -O0.
> .if ${MACHINE_ARCH} == "powerpc"
> CPPFLAGS+=    -O0
> .endif

John Klos