The patch described in the article fix the build problem on OS/X 64bits kernel.
Patch file attached : Someone could apply it to hg repo ? Regards 2010/11/20 Henri Gomez <henri.go...@gmail.com> > I'll try this one. > > Btw MacPorts team add some workarounds and fixes on OpenJDK 1.6, did > someone on bsd-port is tracking them so they could be back in the project ? > > Le 19 nov. 2010 à 19:18, Arul Dhesiaseelan <ar...@acm.org> a écrit : > > I remember running into this one before. Did you try this workaround? > > <http://mail.openjdk.java.net/pipermail/bsd-port-dev/2010-October/001321.html> > http://mail.openjdk.java.net/pipermail/bsd-port-dev/2010-October/001321.html > > -Arul > > On Fri, Nov 19, 2010 at 8:04 AM, Henri Gomez < <henri.go...@gmail.com> > henri.go...@gmail.com> wrote: > >> Hi to all, >> >> OpenJDK 1.7 build works fine under OS/X 10.6.5 in 32bits mode and produce >> 32 & 64 bits VM without problems. >> >> uname -a >> Darwin mbp 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT >> 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386 >> >> >> But it fail on another machine, also on OS/X 10.6.5 but running in 64bits >> mode : >> >> uname -a >> Darwin imac 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:19:13 PDT >> 2010; root:xnu-1504.9.17~1/RELEASE_X86_64 x86_64 >> >> >> cd /Users/henri/Documents/openjdk-1.7-x86_64/hotspot/make; \ >> make VM_TARGET=product1 generic_build1 >> ALT_OUTPUTDIR=/Users/henri/Documents//openjdk-1.7-x86_64/build/bsd-amd64/hotspot/outputdir >> Makefile:375: target `/Xusage.txt' given more than once in the same rule. >> mkdir -p >> /Users/henri/Documents/openjdk-1.7-x86_64/build/bsd-amd64/hotspot/outputdir >> No compiler1 (product1) for ARCH_DATA_MODEL=64 >> cd /Users/henri/Documents/openjdk-1.7-x86_64/hotspot/make; \ >> make VM_TARGET=productkernel generic_buildkernel >> ALT_OUTPUTDIR=/Users/henri/Documents/openjdk-1.7-x86_64/build/bsd-amd64/hotspot/outputdir >> Makefile:375: target `/Xusage.txt' given more than once in the same rule. >> mkdir -p >> /Users/henri/Documents/openjdk-1.7-x86_64/build/bsd-amd64/hotspot/outputdir >> No kernel (productkernel) for OS_NAME=bsd >> cd >> /Users/henri/Documents/openjdk-1.7-x86_64/build/bsd-amd64/hotspot/outputdir; >> \ >> make -f >> /Users/henri/Documents/openjdk-1.7-x86_64/hotspot/make/bsd/Makefile \ >> >> JAVA_HOME=/Users/henri/Documents/eXo/qa-fr/hudson/data/DROP_DIR/soylatte16-amd64-1.0.3 >> OUTPUTDIR=/Users/henri/Documents/openjdk-1.7-x86_64/build/bsd-amd64/hotspot/outputdir >> GAMMADIR=/Users/henri/Documents/openjdk-1.7-x86_64/hotspot MAKE_VERBOSE=y >> HOTSPOT_RELEASE_VERSION=20.0-b02 >> JRE_RELEASE_VERSION=1.7.0-internal-henri_2010_11_19_11_59-b00 >> HOTSPOT_BUILD_VERSION= docs >> /Users/henri/Documents/eXo/qa-fr/hudson/tomcat6/../data/DROP_DIR/soylatte16-amd64-1.0.3/bin/javap >> javax.xml.transform.TransformerFactory > /dev/null 2>&1; \ >> if [ $? -ne 0 ]; then \ >> >> /Users/henri/Documents/eXo/qa-fr/hudson/tomcat6/../data/DROP_DIR/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/henri/Documents/openjdk-1.7-x86_64/hotspot/make/bsd/makefiles/jvmti.make >> " LP64=1 " GAMMADIR=/Users/henri/Documents/openjdk-1.7-x86_64/hotspot >> OS_FAMILY=bsd ARCH=x86 BUILDARCH=amd64 LIBARCH=amd64 >> HOTSPOT_RELEASE_VERSION=20.0-b02 HOTSPOT_BUILD_VERSION= >> JRE_RELEASE_VERSION=1.7.0-internal-henri_2010_11_19_11_59-b00 >> JvmtiOutDir=bsd_amd64_docs jvmtidocs >> /Users/henri/Documents/eXo/qa-fr/hudson/tomcat6/../data/DROP_DIR/soylatte16-amd64-1.0.3/bin/javac >> -g -encoding ascii -source 6 -target 6 -d bsd_amd64_docs >> /Users/henri/Documents/openjdk-1.7-x86_64/hotspot/src/share/vm/prims/jvmtiGen.java >> Generating bsd_amd64_docs/jvmti.html >> /Users/henri/Documents/eXo/qa-fr/hudson/tomcat6/../data/DROP_DIR/soylatte16-amd64-1.0.3/bin/java >> -classpath bsd_amd64_docs jvmtiGen -IN >> /Users/henri/Documents/openjdk-1.7-x86_64/hotspot/src/share/vm/prims/jvmti.xml >> -XSL >> /Users/henri/Documents/openjdk-1.7-x86_64/hotspot/src/share/vm/prims/jvmti.xsl >> -OUT bsd_amd64_docs/jvmti.html >> make VM_SUBDIR=product generic_export >> Makefile:375: target `/Xusage.txt' given more than once in the same rule. >> make[3]: *** No rule to make target >> `/Users/henri/Documents/openjdk-1.7-x86_64/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 >> Finished: FAILURE >> >> Any ideas why ? >> >> Thanks for you help/advices >> >> >> >> > > > -- > <http://aruld.info>http://aruld.info > <http://twitter.com/aruld>http://twitter.com/aruld > > >
open-jdk-1.7-osx-defs.patch
Description: Binary data