Date: Fri, 29 Aug 2014 19:20:58 +0000 (UTC) From: Juergen Lock <nox@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366553 - in head/emulators/qemu-devel: . files Message-ID: <201408291920.s7TJKwcZ028400@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nox Date: Fri Aug 29 19:20:58 2014 New Revision: 366553 URL: http://svnweb.freebsd.org/changeset/ports/366553 QAT: https://qat.redports.org/buildarchive/r366553/ Log: - bsd-user: Increase MAX_ARG_PAGES to 64. - Bump PORTREVISION. Submitted by: sbruno Obtained from: https://github.com/seanbruno/qemu-bsd-user/commit/200e09e4bf497b43cace6b2b2b85b943f5d59dc1 Added: head/emulators/qemu-devel/files/extra-patch-max-arg-pages (contents, props changed) Modified: head/emulators/qemu-devel/Makefile Modified: head/emulators/qemu-devel/Makefile ============================================================================== --- head/emulators/qemu-devel/Makefile Fri Aug 29 19:15:52 2014 (r366552) +++ head/emulators/qemu-devel/Makefile Fri Aug 29 19:20:58 2014 (r366553) @@ -3,7 +3,7 @@ PORTNAME= qemu PORTVERSION= 2.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://wiki.qemu.org/download/:release \ LOCAL/nox:snapshot @@ -78,6 +78,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch- EXTRA_PATCHES+= ${FILESDIR}/extra-patch-21927cffcc7bcacbb953155f778200846df9f60e EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bsd-user-freebsd-os-sys.c EXTRA_PATCHES+= ${FILESDIR}/extra-patch-sysctl-hw-physmem +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-max-arg-pages .endif CONFIGURE_ARGS+= --extra-ldflags=-L${LOCALBASE}/lib Added: head/emulators/qemu-devel/files/extra-patch-max-arg-pages ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/qemu-devel/files/extra-patch-max-arg-pages Fri Aug 29 19:20:58 2014 (r366553) @@ -0,0 +1,28 @@ +From 200e09e4bf497b43cace6b2b2b85b943f5d59dc1 Mon Sep 17 00:00:00 2001 +From: Sean Bruno <sbruno@freebsd.org> +Date: Fri, 29 Aug 2014 14:56:00 +0000 +Subject: [PATCH] Increase MAX_ARG_PAGES to 64 (256k total arg). + +I've found that building packages, like binutils, exceeded 128k easily +--- + bsd-user/qemu.h | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h +index 09af1b4..0731c64 100644 +--- a/bsd-user/qemu.h ++++ b/bsd-user/qemu.h +@@ -121,10 +121,10 @@ extern unsigned long mmap_min_addr; + /* ??? See if we can avoid exposing so much of the loader internals. */ + /* + * MAX_ARG_PAGES defines the number of pages allocated for arguments +- * and envelope for the new program. 32 should suffice, this gives +- * a maximum env+arg of 128kB w/4KB pages! ++ * and envelope for the new program. 64 should suffice, this gives ++ * a maximum env+arg of 256kB w/4KB pages! + */ +-#define MAX_ARG_PAGES 32 ++#define MAX_ARG_PAGES 64 + + /* + * This structure is used to hold the arguments that are
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408291920.s7TJKwcZ028400>