Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compiling current on 6.1.5 natively



On Mon, Jan 12, 2015 at 04:47:51PM -0700, emanuel stiebler wrote:
> Checked on a different machine, it get's a
> "cc1plus': execv: Can not allocate memory"

You need netbsd-7 or -current to exec new gcc, or try to apply this change
to older netbsd:

revision 1.48
date: 2013-09-18 15:31:39 +0200;  author: martin;  state: Exp;  lines: +2 -2;  commitid: a4nXmx9AL20ChV5x;
Bump MAXTSIZ to 32 MB (it is an arbitrary limit anyway)

Index: vmparam.h
===================================================================
RCS file: /cvsroot/src/sys/arch/vax/include/vmparam.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- vmparam.h	14 Nov 2010 13:33:23 -0000	1.47
+++ vmparam.h	18 Sep 2013 13:31:39 -0000	1.48
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.47 2010/11/14 13:33:23 uebayasi Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.48 2013/09/18 13:31:39 martin Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -62,7 +62,7 @@
  */
 
 #ifndef MAXTSIZ
-#define MAXTSIZ		(8*1024*1024)		/* max text size */
+#define MAXTSIZ		(32*1024*1024)		/* max text size */
 #endif
 #ifndef DFLDSIZ
 #define DFLDSIZ		(128*1024*1024)		/* initial data size limit */


Not sure if it would work there (but likely it will).

Martin


Home | Main Index | Thread Index | Old Index