From owner-freebsd-java Sun Feb 23 7:19:12 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F35637B405 for ; Sun, 23 Feb 2003 07:19:10 -0800 (PST) Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFF3843FE3 for ; Sun, 23 Feb 2003 07:19:07 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([61.200.132.166]) by hfep04.dion.ne.jp with ESMTP id <20030223151905865.DLBB@hfep04.dion.ne.jp>; Mon, 24 Feb 2003 00:19:05 +0900 Date: Mon, 24 Feb 2003 00:18:44 +0900 (JST) Message-Id: <20030224.001844.126617556.haro@h4.dion.ne.jp> To: freebsd@spatula.net, Christopher Rued Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <20030221121105.I74143@turing.morons.org> References: <20030214.011711.74755715.haro@h4.dion.ne.jp> <20030221.105132.21960861.haro@kgt.co.jp> <20030221121105.I74143@turing.morons.org> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Feb_24_00:18:44_2003_308)--" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ----Next_Part(Mon_Feb_24_00:18:44_2003_308)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Nick Johnson Date: Fri, 21 Feb 2003 12:14:21 -0800 (PST) ::First off, thanks for this patch! :: ::Second, it works perfectly for compiler1 but breaks with compiler2 because ::a bunch of gcc options don't work. I narrowed the trouble down the fact ::that, despite having set the compiler in the make flags, it's using the ::system g++ rather than g++32 to compile some stuff. I've worked around ::the trouble by just symlinking the system gcc and g++ to gcc32 and g++32. :: ::Anyway, just a heads-up... probably something really simple to fix but I'm ::unfortunately busy with work at the moment and can't work up a patch right ::now. Hello Nick, Thank you for your valuable infomation. I was able to pin-point the spot easily. To Nick and Christopher Rued: Can you apply the atteched patch, and test compile it. Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp ----Next_Part(Mon_Feb_24_00:18:44_2003_308)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk13p8.hotspot_gcc32_fix" diff -ruN jdk13.org/Makefile jdk13/Makefile --- jdk13.org/Makefile Thu Feb 13 22:28:15 2003 +++ jdk13/Makefile Sun Feb 23 23:49:20 2003 @@ -202,6 +202,7 @@ .if defined(USE_GCC) && ${USE_GCC} == 3.2 # Apply patch to use gcc32 cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/j2sdk-use_gcc32 + cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/hotspot-use_gcc32 .else # System has gcc32 as default cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/hotspot-gcc32_is_default diff -ruN jdk13.org/files/hotspot-use_gcc32 jdk13/files/hotspot-use_gcc32 --- jdk13.org/files/hotspot-use_gcc32 Thu Jan 1 09:00:00 1970 +++ jdk13/files/hotspot-use_gcc32 Sun Feb 23 23:17:40 2003 @@ -0,0 +1,11 @@ +--- ../../hotspot1.3.1/build/linux/makefiles/adlc.make.org Sun Feb 23 23:14:32 2003 ++++ ../../hotspot1.3.1/build/linux/makefiles/adlc.make Sun Feb 23 23:15:41 2003 +@@ -53,7 +53,7 @@ + # /usr/dist/share/devpro/5.x-sparc/bin/CC + # man -M /usr/dist/share/devpro/5.x-sparc/man CC + +-CPP = g++ ++CPP = g++32 + CPPFLAGS = -DASSERT -g -o $@ + # -o object file-name + # +w Additional warnings: Nonportable, Likely mistakes or inefficient ----Next_Part(Mon_Feb_24_00:18:44_2003_308)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message