http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55610



--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-12-07 
17:35:00 UTC ---

--- gcc-4.7.2/gcc/config/host-darwin.c.orig     2012-12-07 11:30:48.000000000

-0500

+++ gcc-4.7.2/gcc/config/host-darwin.c  2012-12-07 11:39:21.000000000 -0500

@@ -57,8 +57,8 @@

   /* Round the size to a whole page size.  Normally this is a no-op.  */

   sz = (sz + pagesize - 1) / pagesize * pagesize;



-  if (munmap (pch_address_space + sz, sizeof (pch_address_space) - sz) != 0)

-    fatal_error ("couldn%'t unmap pch_address_space: %m");

+  /* if (munmap (pch_address_space + sz, sizeof (pch_address_space) - sz) !=

0)

+    fatal_error ("couldn%'t unmap pch_address_space: %m"); */



   if (ret)

     {



eliminates the dyld: lazy symbol binding failure with...



/sw/lib/gcc4.7/bin/gcc-4 -fplugin=/sw/lib/gcc4.7/lib/dragonegg.so -O3

-fplugin-arg-dragonegg-llvm-option=-load:/sw/opt/llvm-3.2/lib/LLVMPolly.so

-fplugin-arg-dragonegg-llvm-option=-polly himenoBMTxpa.c



under llvm/polly/dragonegg 3.2 branch. Will run full regression testing on the

gcc 4.7.2 build to hunt for regressions from this change to

darwin_gt_pch_use_address on x86_64-apple-darwin12.

Reply via email to