Module Name:    src
Committed By:   bouyer
Date:           Fri Apr  3 17:25:43 UTC 2015

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config: host-netbsd.c

Log Message:
Use the same TRY_EMPTY_VM_SPACE as mips and vax for arm, which also
has VM_MAXUSER_ADDRESS set to 2GB. Fixes "fatal error: had to relocate PCH"
from g++ building wxGTK28 or wxGTK30.
For details see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58379

thanks to Martin Husemann for the hint.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/config/host-netbsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/host-netbsd.c
diff -u src/external/gpl3/gcc/dist/gcc/config/host-netbsd.c:1.1 src/external/gpl3/gcc/dist/gcc/config/host-netbsd.c:1.2
--- src/external/gpl3/gcc/dist/gcc/config/host-netbsd.c:1.1	Sat Mar  1 09:26:00 2014
+++ src/external/gpl3/gcc/dist/gcc/config/host-netbsd.c	Fri Apr  3 17:25:42 2015
@@ -35,7 +35,7 @@
 # define TRY_EMPTY_VM_SPACE	0x40000000000
 #elif defined(_LP64)
 # define TRY_EMPTY_VM_SPACE	0x400000000000
-#elif defined(__mips__) || defined(__vax__)
+#elif defined(__mips__) || defined(__vax__) || defined (__arm__)
 # define TRY_EMPTY_VM_SPACE	0x60000000
 #else
 # define TRY_EMPTY_VM_SPACE	0xb0000000

Reply via email to