Download raw body.
macppc: increase MAXDSIZ to 3Gb
hmm, I have some recollection of an issue going above INT32_MAX on powerpc...anyone know more (or if i'm mistaken)? On 2026/10/25 01:02, Kirill A. Korinsky wrote: > tech@, > > I'd like to increase MAXDSIZ at macppc to 3Gb which allows me to build > devel/dub, which, otherwise, fails as: > > Building dub using /usr/local/bin/gdmd (dflags: ["-g", "-O", "-w"]), this may take a while... > Command `["/usr/local/bin/gdmd", "-of/usr/ports/pobj/dub-1.40.0/dub-1.40.0/bin/dub", "-I/usr/ports/pobj/dub-1.40.0/dub-1.40.0/source", "-version=DubUseCurl", "-version=DubApplication", "-g", "-O", "-w", "@build-files.txt"]` failed, output was: virtual memory exhausted: Cannot allocate memory > > Ok? > > Index: sys/arch/macppc/include/vmparam.h > =================================================================== > RCS file: /cvs/src/sys/arch/macppc/include/vmparam.h,v > diff -u -p -r1.33 vmparam.h > --- sys/arch/macppc/include/vmparam.h 30 Jan 2024 16:43:22 -0000 1.33 > +++ sys/arch/macppc/include/vmparam.h 24 Oct 2026 22:59:23 -0000 > @@ -46,7 +46,7 @@ > #endif > > #ifndef MAXDSIZ > -#define MAXDSIZ (2UL*1024*1024*1024) /* max data size */ > +#define MAXDSIZ (3UL*1024*1024*1024) /* max data size */ > #endif > > #ifndef BRKSIZ > > > -- > wbr, Kirill >
macppc: increase MAXDSIZ to 3Gb