Date: Mon, 24 Feb 2003 00:18:44 +0900 (JST) From: Munehiro Matsuda <haro@h4.dion.ne.jp> To: freebsd@spatula.net, Christopher Rued <c.rued@xsb.com> Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030224.001844.126617556.haro@h4.dion.ne.jp> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
From: Nick Johnson <freebsd@spatula.net>
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
[-- Attachment #2 --]
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030224.001844.126617556.haro>
