Adam Majer <[EMAIL PROTECTED]> writes: > On Sat, Oct 11, 2003 at 04:00:34PM +0200, Sam Hocevar wrote: >> My openvrml packages have been failing to build on arm [1], mips [2] >> and mipsel [3] for some time. From the build logs, it looks like g++ is >> eating all the memory and the OOM killer kills it. >> >> What can I do? Ask the buildd admins to add more swap? I would be >> happy to cross-compile the packages (they don't require any arch-specific >> bootstrapping) but I don't have enough hard drive space to build a cross- >> compiler. > > Whatabout removing the -O2 switch? It can save some compilation time and > memory for very large files.. > For very large files, it saves not some, but a lot of memory in my experience for gcc 3.3 -- compiling a ~140K lines generated C file with -O2 even caused my 396MB machine to trash heavily, while -O0 and gcc 3.2 -O2 were ok...
Andy -- Andreas Rottmann | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62 This reality is really just a fucked-up dream -- Papa Roach