From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8933 invoked by alias); 6 Dec 2012 23:58:30 -0000 Received: (qmail 8498 invoked by uid 48); 6 Dec 2012 23:58:08 -0000 From: "mrs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/55610] cc1 is calling munmap() on part of itself on darwin Date: Thu, 06 Dec 2012 23:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mrs at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg00618.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55610 mrs@gcc.gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrs at gcc dot gnu.org --- Comment #3 from mrs at gcc dot gnu.org 2012-12-06 23:58:07 UTC --- We don't need to do that. We need to not run the unmap call in host-darwin.c when we dlopen things in the compiler; for example, dragonegg. Then, we need to test this and see if the bug is fixed. You can do that by adding in a #if 0 #end around the unmap call.