Is there a way to build Openjdk on a 64-bit Mac OS X 10.6.4?

John Yeary johnyeary at gmail.com
Fri Oct 8 04:56:28 PDT 2010


Hello Arul,

I have not done a build since before JavaOne so I am not sure. I will try
one this morning and see if I can find anything. I did an update to OS X
which may introduce some issues.

John

On Thu, Oct 7, 2010 at 5:41 PM, Arul Dhesiaseelan <aruld at acm.org> wrote:

> I followed instructions from
> http://wikis.sun.com/display/OpenJDK/Darwin10Build
>
> I am using 64-bit soylatte and running on 64-bit 10.6.4. I get the
> following errors:
>
> cd /Users/aruld/bsd-port/hotspot/make; \
>     make VM_TARGET=product1 generic_build1
> ALT_OUTPUTDIR=/Users/aruld/bsd-port/build/bsd-amd64/hotspot/outputdir
> Makefile:336: target `/Xusage.txt' given more than once in the same rule.
> mkdir -p /Users/aruld/bsd-port/build/bsd-amd64/hotspot/outputdir
> *No compiler1 (product1) for ARCH_DATA_MODEL=64*
> cd /Users/aruld/bsd-port/hotspot/make; \
>     make VM_TARGET=productkernel generic_buildkernel
> ALT_OUTPUTDIR=/Users/aruld/bsd-port/build/bsd-amd64/hotspot/outputdir
> Makefile:336: target `/Xusage.txt' given more than once in the same rule.
> mkdir -p /Users/aruld/bsd-port/build/bsd-amd64/hotspot/outputdir
> No kernel (productkernel) for OS_NAME=bsd
> cd /Users/aruld/bsd-port/build/bsd-amd64/hotspot/outputdir; \
>         make -f /Users/aruld/bsd-port/hotspot/make/bsd/Makefile \
>                JAVA_HOME=/Users/aruld/soylatte16-amd64-1.0.3
> OUTPUTDIR=/Users/aruld/bsd-port/build/bsd-amd64/hotspot/outputdir
> GAMMADIR=/Users/aruld/bsd-port/hotspot MAKE_VERBOSE=y
> HOTSPOT_RELEASE_VERSION=19.0-b05
> JRE_RELEASE_VERSION=1.7.0-internal-aruld_2010_10_07_15_06-b00
> HOTSPOT_BUILD_VERSION= docs
> /Users/aruld/soylatte16-amd64-1.0.3/bin/javap
> javax.xml.transform.TransformerFactory > /dev/null 2>&1; \
>     if [ $? -ne 0 ]; then \
>        /Users/aruld/soylatte16-amd64-1.0.3/bin/java -version; \
>       echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \
>       "to bootstrap this build" 1>&2; \
>       exit 1; \
>     fi
> mkdir -p bsd_amd64_docs
> make -f /Users/aruld/bsd-port/hotspot/make/bsd/makefiles/jvmti.make  "
> LP64=1 " GAMMADIR=/Users/aruld/bsd-port/hotspot OS_FAMILY=bsd ARCH=x86
> BUILDARCH=amd64 LIBARCH=amd64 HOTSPOT_RELEASE_VERSION=19.0-b05
> HOTSPOT_BUILD_VERSION=
> JRE_RELEASE_VERSION=1.7.0-internal-arul_2010_10_07_15_06-b00
> JvmtiOutDir=bsd_amd64_docs jvmtidocs
> /Users/aruld/soylatte16-amd64-1.0.3/bin/javac -g -encoding ascii -source 6
> -target 6 -d bsd_amd64_docs
> /Users/aruld/bsd-port/hotspot/src/share/vm/prims/jvmtiGen.java
> Generating bsd_amd64_docs/jvmti.html
> /Users/aruld/soylatte16-amd64-1.0.3/bin/java -classpath bsd_amd64_docs
> jvmtiGen -IN /Users/aruld/bsd-port/hotspot/src/share/vm/prims/jvmti.xml -XSL
> /Users/aruld/bsd-port/hotspot/src/share/vm/prims/jvmti.xsl -OUT
> bsd_amd64_docs/jvmti.html
> make VM_SUBDIR=product                            generic_export
> Makefile:336: target `/Xusage.txt' given more than once in the same rule.
> make[3]: *** No rule to make target
> `/Users/aruld/bsd-port/build/bsd-amd64/hotspot/import/docs/platform/jvmti/jvmti.html',
> needed by `generic_export'.  Stop.
> make[2]: *** [export_product] Error 2
> make[1]: *** [hotspot-build] Error 2
> make: *** [build_product_image] Error 2
>
> Not sure what is the problem here. is it failing because of there is no
> 64-bit compiler or something else. Appreciate any directions.
>
> -Arul
>
>
>
>


-- 
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com

"Far better it is to dare mighty things, to win glorious triumphs, even
though checkered by failure, than to take rank with those poor spirits who
neither enjoy much nor suffer much, because they live in the gray twilight
that knows not victory nor defeat."
-- Theodore Roosevelt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20101008/cc383cbf/attachment.html 


More information about the bsd-port-dev mailing list