GCC43 - Increase datasize limit

Kris Kennaway kris at obsecurity.org
Thu Jun 7 20:12:04 UTC 2007


On Thu, Jun 07, 2007 at 03:37:10PM -0400, Gerard Seibert wrote:
> This is a fresh installation of FreeBSD-6.2. I am attempting to
> install gcc43. When I type make, I receive the following error
> message:
> 
> Making GCC 4.3.0 fir FreeBSD 6.2 target=i386-portbid-freebsd6.2
> You need to increase the datasize to at least 700000 (and set
> kern.maxdsiz="734003200" in /boot/loader.conf) to build with Java
> Support.
> *** Error code 1
> 
> I made the entry in the /boot/loader.conf  file and rebooted the
> system but the build still fails. How do I change the datasize value?

Maybe you also need to change it per-user in /etc/login.conf.  Check
limits(1) and related documentation.

Kris


More information about the freebsd-questions mailing list