In the last episode (Jan 01), Leif Neland said:
> So far it has been taking 2 hours to compile sql_yacc.cc from
> mysql3.22.
>
> I had to find an old disk for swap, and it's swapping all the time.
>
> top shows 156M size and 46M res., run time 20min's for cc1plus. That
> probably means it's been waiting for swapping in 1h40m...
>
> The box is a 333MHz PII, with 64M ram. Do I just need more ram to be
> able to compile in reasonable time, or is something broken?
You probably need more RAM. sql_yacc.cc is one of those "worst-case"
programs as far as gcc is concerned; I don't think gcc can parse large
case statements like this efficiently. Adding "--with-low-memory" to
your port Makefile, in the CONFIGURE_ARGS line, will help.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message