Subject: Re: Trying set set MAXDSIZ value to more than 2GB
To: Jason Thorpe <thorpej@shagadelic.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: port-i386
Date: 06/21/2005 10:57:21
On Mon, Jun 20, 2005 at 01:02:45PM -0700, Jason Thorpe wrote:
> 
> On Jun 20, 2005, at 10:39 AM, Nicolas Joly wrote:
> >
> >I got an application that will, under some circumtances, require about
> >2.5GB of memory. For that, i wanted to increase MAXDSIZ to a new value
> >of 3GB on my i386 4CPU Dell Dimension 6300. But whatever value >2GB i
> >try, i'm getting a compilation failure in `kern_resource.c':
> >
> >#   compile  HAL.BIG/kern_resource.o
> >/local/src/NetBSD/tool/i386/bin/i386--netbsdelf-gcc -ffreestanding - 
> >O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith - 
> >Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch - 
> >Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero- 
> >initialized-in-bss -Di386 -I. -I/local/src/NetBSD/src/sys/arch -I/ 
> >local/src/NetBSD/src/sys -nostdinc -DLKM -DNMBCLUSTERS=4096 - 
> >DMAXDSIZ=3221225472 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/local/ 
> >src/NetBSD/src/sys/dist/ipf -c /local/src/NetBSD/src/sys/kern/ 
> >kern_resource.c
> >/local/src/NetBSD/src/sys/kern/kern_resource.c:62: warning: this  
> >decimal constant is unsigned only in ISO C90
> >*** [kern_resource.o] Error code 1
> >
> >Are such huges values supported for MAXDSIZ ?
> 
> Please file a bug report with send-pr -- this is a generic kernel  
> bug, not something specific to NetBSD/i386.

Done, kern/30571.

Thanks.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.