public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/55610] cc1 is calling munmap() on part of itself on darwin
Date: Fri, 07 Dec 2012 17:35:00 -0000	[thread overview]
Message-ID: <bug-55610-4-f2EwHkGGne@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55610-4@http.gcc.gnu.org/bugzilla/>


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.


  parent reply	other threads:[~2012-12-07 17:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 15:19 [Bug target/55610] New: " howarth at nitro dot med.uc.edu
2012-12-06 15:25 ` [Bug target/55610] " howarth at nitro dot med.uc.edu
2012-12-06 15:28 ` howarth at nitro dot med.uc.edu
2012-12-06 23:58 ` mrs at gcc dot gnu.org
2012-12-07 17:35 ` howarth at nitro dot med.uc.edu [this message]
2012-12-07 18:03 ` howarth at nitro dot med.uc.edu
2021-11-11 15:49 ` egallager at gcc dot gnu.org
2021-11-11 15:55 ` iains at gcc dot gnu.org
2021-12-02 19:45 ` cvs-commit at gcc dot gnu.org
2021-12-20  4:05 ` egallager at gcc dot gnu.org
2023-05-16 19:18 ` iains at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55610-4-f2EwHkGGne@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).