On Sunday 18 January 2009 06:38:15 Richard Watson wrote:
> I'm sorry about the delay in closing this. I finally figured out if I
> remove "-pipe" from my /etc/make.conf CFLAGS that all my compile errors go
> away. Looking at the reference on the subject this option tells GCC not to
> create temporary files when compiling but to turn this off if low on RAM.
> Not sure why this happens as I have a 1GB Ram. Maybe this is not enough
> these days. Anyway problem solved.

That's an interesting result, but I can't help thinking it's the wrong 
solution to the wrong problem. One of my machines has had merely 1G for 2 
years, before that it had 512M for 3 years and it has never shown this 
symptom. I have servers at work with 512M - same thing, even when building 
current packages.

Gut feel is telling me that removing -pipe is simply revealing a deeper 
symptom somewhere - 1G is actually an enormous amount of memory for 
compilation purposes. If you feel like digging deeper, I'd be very interested 
to see where this one leads.


-- 
alan dot mckinnon at gmail dot com

Reply via email to