diff options
author | Juergen Lock <nox@FreeBSD.org> | 2014-08-29 19:20:58 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2014-08-29 19:20:58 +0000 |
commit | 83097b938834d534ef24111ae0839f2140c5ac58 (patch) | |
tree | 6bf18ff8204c57dac3fbe444452900570ae016c6 /emulators/qemu-devel/files | |
parent | aa80ecdafcc2026c87ba35089625813145a86108 (diff) | |
download | ports-83097b938834d534ef24111ae0839f2140c5ac58.tar.gz ports-83097b938834d534ef24111ae0839f2140c5ac58.zip |
Notes
Diffstat (limited to 'emulators/qemu-devel/files')
-rw-r--r-- | emulators/qemu-devel/files/extra-patch-max-arg-pages | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-max-arg-pages b/emulators/qemu-devel/files/extra-patch-max-arg-pages new file mode 100644 index 000000000000..ca447f0d6090 --- /dev/null +++ b/emulators/qemu-devel/files/extra-patch-max-arg-pages @@ -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 |