[Java] [ahughes at redhat.com: Re: /hg/openjdk6-mips: Add information in README and env.sh; added a...]
Dr Andrew John Hughes
ahughes at redhat.com
Wed Nov 10 05:23:15 PST 2010
On 20:38 Wed 10 Nov , 敖琪 wrote:
> > aoqi:
> > 你订了distro-pkg-dev at openjdk.java.net了么?回答一下Andrew的疑问吧。
> >
> >
> > ----- Forwarded message from Dr Andrew John Hughes <ahughes at redhat.com>
> > -----
> >
> > Date: Tue, 9 Nov 2010 14:00:08 +0000
> > From: Dr Andrew John Hughes <ahughes at redhat.com>
> > To: liuqi at icedtea.classpath.org
> > Cc: distro-pkg-dev at openjdk.java.net
> > Subject: Re: /hg/openjdk6-mips: Add information in README and env.sh;
> > added
> > a...
> > User-Agent: Mutt/1.5.21 (2010-09-15)
> >
> > On 06:30 Tue 09 Nov , liuqi at icedtea.classpath.org wrote:
> >> changeset 82bf91673f25 in /hg/openjdk6-mips
> >> details:
> >> http://icedtea.classpath.org/hg/openjdk6-mips?cmd=changeset;node=82bf91673f25
> >> author: Ao Qi <aoqi at loongson.cn>
> >> date: Tue Nov 09 13:21:20 2010 +0800
> >>
> >> Add information in README and env.sh; added a missing file to make
> >> the completed build.
> >>
> >
> > Why have you added back the information about binary plugs? These haven't
> > been required for years.
>
> Our port is based on OpenJDK6_b18, so the binary plugs are needed during
> building jdk.
>
No, they aren't. That's why the build documentation was updated to begin with:
http://hg.openjdk.java.net/jdk6/jdk6/rev/073cdf699427
Even b16 doesn't need binary blobs. Not sure about ones before that.
> >
> >>
> >> diffstat:
> >>
> >> 5 files changed, 91 insertions(+), 52 deletions(-)
> >> README | 32 ++++++++++++++++++++++++++++--
> >> env.sh | 23 +++++++++++++++++++++
> >> env_debug.sh | 27 -------------------------
> >> env_product.sh | 23 ---------------------
> >> jdk/src/solaris/bin/mips64/jvm.cfg | 38
> >> ++++++++++++++++++++++++++++++++++++
> >>
> >> diffs (181 lines):
> >>
> >> diff -r 8ef762f87d0e -r 82bf91673f25 README
> >> --- a/README Mon Nov 08 19:53:05 2010 +0800
> >> +++ b/README Tue Nov 09 13:21:20 2010 +0800
> >> @@ -6,20 +6,48 @@ README:
> >> "corba", "jaxws" and "jaxp".
> >>
> >> See http://openjdk.java.net/ for more information about the OpenJDK.
> >> + See http://icedtea.classpath.org/wiki/MIPSPort for more information
> >> about the OpenJDK MIPS Port.
> >>
> >> Simple Build Instructions:
> >>
> >> 1. Download and install a JDK 6 from
> >> http://java.sun.com/javase/downloads/index.jsp
> >> Set the environment variable ALT_BOOTDIR to the location of this
> >> JDK 6.
> >> + If using Debian:
> >> + apt-get install openjdk-6-jdk
> >> + export ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk
> >>
> >> - 2. Check the sanity of doing a build with the current machine:
> >> + 2. Download Binary Plugs, go to the OpenJDK site and select the
> >> "Bundles(6)" link and download
> >> + the binaryplugs. The file downloaded is a jar file that must be
> >> extracted by running the jar
> >> + file with:
> >> + java -jar jdk-6-ea-plug-bnn-os-arch-dd_month_year.jar
> >> + Set the environment variable ALT_BINARY_PLUGS_PATH to the root of
> >> this installation.
> >> +
> >> + 3. Set other environment variables. If using Debian:
> >> + source env.sh
> >> + Check the sanity of doing a build with the current machine:
> >> gnumake sanity
> >> See README-builds.html if you run into problems.
> >>
> >> - 3. Do a complete build of the jdk:
> >> + 4. Do a complete build of the jdk:
> >> gnumake all
> >> + When building jaxp, it seems a bug that jdk6-jaxp-2009_10_13.zip
> >> cannot be downloaded.
> >> + The workaround is to download it by "wget ", and set ALT_DROPS_DIR
> >> to the dir where the zip is:
> >> + export ALT_DROPS_DIR=~/zip_dir
> >> The resulting JDK image should be found in build/*/j2sdk-image
> >> +
> >> + 5. By setting the environment variables below, components can be
> >> built separately.
> >> + For example:
> >> + export BUILD_HOTSPOT=true
> >> + export BUILD_LANGTOOLS=false
> >> + export BUILD_CORBA=false
> >> + export BUILD_JAXP=false
> >> + export BUILD_JAXWS=false
> >> + export BUILD_JDK=false
> >> + export BUILD_DEPLOY=false
> >> +
> >> + 6. The default hotspot-build is all_product. Set DEBUG_NAME would
> >> change the target:
> >> + export DEBUG_NAME=debug
> >>
> >> where gnumake is GNU make 3.78.1 or newer, /usr/bin/make on Linux and
> >> /usr/sfw/bin/gmake or /opt/sfw/bin/gmake on Solaris.
> >> diff -r 8ef762f87d0e -r 82bf91673f25 env.sh
> >> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> >> +++ b/env.sh Tue Nov 09 13:21:20 2010 +0800
> >> @@ -0,0 +1,23 @@
> >> +export LANG=C
> >> +export
> >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-6-openjdk/bin
> >> +export ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk
> >> +export ALT_BINARY_PLUGS_PATH=~/openjdk-binary-plugs
> >> +export ARCH_DATA_MODEL=32
> >> +
> >> +unset CLASSPATH
> >> +unset JAVA_HOME
> >> +
> >> +#The default hotspot-build is all_product. Setting DEBUG_NAME would
> >> change the target.
> >> +#export DEBUG_NAME=debug
> >> +
> >> +# By setting the environment variables below, components can be built
> >> separately.
> >> +#export BUILD_LANGTOOLS=false
> >> +#export BUILD_CORBA=false
> >> +#export BUILD_JAXP=false
> >> +#export BUILD_JAXWS=false
> >> +#export BUILD_JDK=false
> >> +#export BUILD_DEPLOY=false
> >> +
> >> +# When building jaxp, it seems a bug that jdk6-jaxp-2009_10_13.zip
> >> cannot be downloaded.
> >> +# The workaround is to download it by "wget ", and set ALT_DROPS_DIR to
> >> the dir where the zip is.
> >> +#export ALT_DROPS_DIR=~/zip_dir
> >> diff -r 8ef762f87d0e -r 82bf91673f25 env_debug.sh
> >> --- a/env_debug.sh Mon Nov 08 19:53:05 2010 +0800
> >> +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
> >> @@ -1,27 +0,0 @@
> >> -export LANG=C
> >> -export LC_ALL=C
> >> -export
> >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-6-openjdk/bin
> >> -export ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk
> >> -#export ALT_BOOTDIR=/home/loongson/java/j2sdk-gs2
> >> -export ALT_BINARY_PLUGS_PATH=/opt/java/openjdk-binary-plugs
> >> -#export ALT_JDK_IMPORT_PATH=/usr/lib/jvm/java-6-openjdk
> >> -export ARCH_DATA_MODEL=32
> >> -
> >> -#The default hotspot-build is all_product. Setting DEBUG_NAME would
> >> change the target.
> >> -export DEBUG_NAME=debug
> >> -
> >> -# If want to build entire JDK, set all envs below true.
> >> -export BUILD_LANGTOOLS=false
> >> -export BUILD_CORBA=false
> >> -export BUILD_JAXP=false
> >> -export BUILD_JAXWS=false
> >> -# When building jaxp, it seems a bug that jdk6-jaxp-2009_10_13.zip
> >> cannot be downloaded.
> >> -# The workaround is to download it by "wget ", and set ALT_DROPS_DIR to
> >> the dir where the zip is.
> >> -#export ALT_DROPS_DIR=~/zip_dir
> >> -
> >> -export BUILD_MOTIF=false
> >> -export BUILD_JDK=false
> >> -export BUILD_DEPLOY=false
> >> -
> >> -unset CLASSPATH
> >> -unset JAVA_HOME
> >> diff -r 8ef762f87d0e -r 82bf91673f25 env_product.sh
> >> --- a/env_product.sh Mon Nov 08 19:53:05 2010 +0800
> >> +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
> >> @@ -1,23 +0,0 @@
> >> -export LC_ALL=C
> >> -export
> >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-6-openjdk/bin
> >> -export ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk
> >> -export ALT_BINARY_PLUGS_PATH=/opt/java/openjdk-binary-plugs
> >> -export ARCH_DATA_MODEL=32
> >> -
> >> -#The default hotspot-build is all_product. Setting DEBUG_NAME would
> >> change the target.
> >> -
> >> -# If want to build entire JDK, set all envs below true.
> >> -export BUILD_LANGTOOLS=false
> >> -export BUILD_CORBA=false
> >> -export BUILD_JAXP=false
> >> -export BUILD_JAXWS=false
> >> -# When building jaxp, it seems a bug that jdk6-jaxp-2009_10_13.zip
> >> cannot be downloaded.
> >> -# The workaround is to download it by "wget ", and set ALT_DROPS_DIR to
> >> the dir where the zip is.
> >> -#export ALT_DROPS_DIR=~/zip_dir
> >> -
> >> -export BUILD_MOTIF=false
> >> -export BUILD_JDK=false
> >> -export BUILD_DEPLOY=false
> >> -
> >> -unset CLASSPATH
> >> -unset JAVA_HOME
> >> diff -r 8ef762f87d0e -r 82bf91673f25 jdk/src/solaris/bin/mips64/jvm.cfg
> >> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> >> +++ b/jdk/src/solaris/bin/mips64/jvm.cfg Tue Nov 09 13:21:20 2010 +0800
> >> @@ -0,0 +1,38 @@
> >> +# Copyright 2001-2003 Sun Microsystems, Inc. All Rights Reserved.
> >> +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
> >> +#
> >> +# This code is free software; you can redistribute it and/or modify it
> >> +# under the terms of the GNU General Public License version 2 only, as
> >> +# published by the Free Software Foundation. Sun designates this
> >> +# particular file as subject to the "Classpath" exception as provided
> >> +# by Sun in the LICENSE file that accompanied this code.
> >> +#
> >> +# This code is distributed in the hope that it will be useful, but
> >> WITHOUT
> >> +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> >> +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
> >> +# version 2 for more details (a copy is included in the LICENSE file
> >> that
> >> +# accompanied this code).
> >> +#
> >> +# You should have received a copy of the GNU General Public License
> >> version
> >> +# 2 along with this work; if not, write to the Free Software
> >> Foundation,
> >> +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
> >> +#
> >> +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
> >> Clara,
> >> +# CA 95054 USA or visit www.sun.com if you need additional information
> >> or
> >> +# have any questions.
> >> +#
> >> +# List of JVMs that can be used as an option to java, javac, etc.
> >> +# Order is important -- first in this list is the default JVM.
> >> +# NOTE that this both this file and its format are UNSUPPORTED and
> >> +# WILL GO AWAY in a future release.
> >> +#
> >> +# You may also select a JVM in an arbitrary location with the
> >> +# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
> >> +# and may not be available in a future release.
> >> +#
> >> +-client IF_SERVER_CLASS -server
> >> +-server KNOWN
> >> +-hotspot ALIASED_TO -client
> >> +-classic WARN
> >> +-native ERROR
> >> +-green ERROR
> >
> > --
> > Andrew :)
> >
> > Free Java Software Engineer
> > Red Hat, Inc. (http://www.redhat.com)
> >
> > Support Free Java!
> > Contribute to GNU Classpath and the OpenJDK
> > http://www.gnu.org/software/classpath
> > http://openjdk.java.net
> > PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
> > Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
> >
> > ----- End forwarded message -----
> >
> > --
> > LIU Qi
> >
> > liuqi at loongson.cn
> > liuqi82 at gmail.com
> >
> > Loongson Technology Co. Ltd.
> >
> > PGP Key fingerprint:
> > 3D29 FDFD AFB3 225D B744
> > 7FAB 51C7 4820 63BA 272F
> > _______________________________________________
> > Java mailing list
> > Java at lists.loongson.cn
> > http://lists.loongson.cn/cgi-bin/mailman/listinfo/java
> >
>
>
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev
mailing list