Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config Use the same TRY_EMPTY_VM_...



details:   https://anonhg.NetBSD.org/src/rev/54df80c47e49
branches:  trunk
changeset: 337126:54df80c47e49
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Fri Apr 03 17:25:42 2015 +0000

description:
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.

diffstat:

 external/gpl3/gcc/dist/gcc/config/host-netbsd.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e608c18ec54c -r 54df80c47e49 external/gpl3/gcc/dist/gcc/config/host-netbsd.c
--- a/external/gpl3/gcc/dist/gcc/config/host-netbsd.c   Fri Apr 03 16:46:39 2015 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/host-netbsd.c   Fri Apr 03 17:25:42 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index