From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32390 invoked by alias); 10 Feb 2005 06:11:17 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 32371 invoked by uid 48); 10 Feb 2005 06:11:16 -0000 Date: Thu, 10 Feb 2005 18:50:00 -0000 Message-ID: <20050210061116.32368.qmail@sourceware.org> From: "aj at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20050208143717.19823.matz@suse.de> References: <20050208143717.19823.matz@suse.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/19823] java fails with non-executable memory X-Bugzilla-Reason: CC X-SW-Source: 2005-q1/txt/msg00338.txt.bz2 List-Id: ------- Additional Comments From aj at gcc dot gnu dot org 2005-02-10 06:11 ------- I agree, the USE_MMAP is not global. I'm trying now the following patch to see whether we're really on the right track: ============================================================ Index: boehm-gc/include/private/gcconfig.h --- boehm-gc/include/private/gcconfig.h 13 Oct 2004 10:34:21 -0000 1.39 +++ boehm-gc/include/private/gcconfig.h 10 Feb 2005 06:08:42 -0000 @@ -1888,6 +1888,10 @@ # endif # endif +#if defined(LINUX) +# define USE_MMAP +#endif + #if defined(LINUX) && defined(USE_MMAP) /* The kernel may do a somewhat better job merging mappings etc. */ /* with anonymous mappings. */ If you have a patch for sbrk usage, I can try that one also. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-02-10 06:11:14 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19823