Re: GCC 4.8 out of memory

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.ports.m68k
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Christos Zoulas) writes:

>>On my Amiga with 68060, 136MB RAM and 512MB swap I'm getting
>>"-sh: /usr/libexec/cc1: not enough memory"
>>whenever I try to compile a source or when I call /usr/libexec/cc1 directly.
>>
>>7.0beta from January/February with GCC 4.5 had no problem.

>Is this because of default resource limits or default text/data size?

MAXTSIZ on Amiga is 6MB, cc1 is a bit larger than that.

You could also bump some other limits.

http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/vmparam.diff

is what I use.

Would also be nice, if Michael L. Hitch's pmap changes could
make it into netbsd-7 (or even -current).

-- 
-- 
                                Michael van Elst
Internet: [email protected]
                                "A potential Snark may lurk in every tree."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.