From owner-freebsd-java@FreeBSD.ORG Mon Sep 10 23:12:54 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D850C1065670 for ; Mon, 10 Sep 2012 23:12:54 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF448FC12 for ; Mon, 10 Sep 2012 23:12:53 +0000 (UTC) Received: from localhost ([92.156.105.229]) by mwinf5d56 with ME id xbCl1j0094wyzwC03bClVi; Tue, 11 Sep 2012 01:12:46 +0200 Message-ID: <504E73ED.20203@orange.fr> Date: Tue, 11 Sep 2012 01:12:45 +0200 From: Claude Buisson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.7) Gecko/20120831 Thunderbird/10.0.7 MIME-Version: 1.0 To: avg@FreeBSD.org, java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 10 Sep 2012 23:16:42 +0000 Cc: Subject: openjdk6: Compiler-gcc.gmk patching vs non-base compiler (continued) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 23:12:54 -0000 Hi, Using gcc(46) I also needed to replace a GCC = gcc by GCC ?= gcc in hotspot/agent/src/os/bsd/Makefile and define GCC (as gcc46) in Mk/bsd.gcc.mk. And, for i386 I had to apply a patch to hotspot/src/os_cpu/bsd_x86/vm/orderAccess_bsd_x86.inline.hpp See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7031385 http://cr.openjdk.java.net/~dbhole/register-allocation-fix/webrev.00/ Claude Buisson