Re: increase MAXTSIZ for m68k in order to run GCC 5.4

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

>GCC 5.4 fails to run on a m68k machine:

>   % uname -mpr
>   7.99.42 x68k m68k
>   % cc hello.c
>   check_exec: rejecting due to limits (t=9358872 > 8388608 || d=1104212 > 16777216)
>   cc: error trying to exec '/usr/libexec/cc1': execv: Cannot allocate memory

>This is due to text size of cc1 (~ 9MB) is larger than MAXTSIZ (= 8MB).
>Is it OK to increase the default value for m68k ports? If so, how large
>should it be? Is 16MB acceptable?

atari and amiga already have larger limits. The maximum size depends
on the amount of available virtual address space. You may also want
to adjust MAXDSIZ and MAXSSIZ.

We may also try to persuade mhitch@ to finish and commit his work
on a new pmap implementation that supports the full 4GB of virtual
address space.

-- 
-- 
                                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.