troubles building 64-bit VM on a mac

David Green dgreen99 at gmail.com
Mon May 11 11:57:44 PDT 2009


I've managed to build a 32-bit jdk7 on my mac.  When attempting to build
64-bit I run into the following error message:

mkdir -p bsd_amd64_docs

make -f
/Users/dgreen/Documents/packages/jdk7/bsd-port/hotspot/make/bsd/makefiles/jvmti.make
 " LP64=1 " GAMMADIR=/Users/dgreen/Documents/packages/jdk7/bsd-port/hotspot
OS_FAMILY=bsd ARCH=x86 BUILDARCH=amd64 LIBARCH=amd64
HOTSPOT_RELEASE_VERSION=15.0-b02 HOTSPOT_BUILD_VERSION=
JRE_RELEASE_VERSION=1.7.0-internal-dgreen_2009_05_11_11_50-b00
JvmtiOutDir=bsd_amd64_docs jvmtidocs

make[4]: Nothing to be done for `jvmtidocs'.

make VM_SUBDIR=product                            generic_export

Makefile:316: target `/Xusage.txt' given more than once in the same rule.

make[3]: *** No rule to make target
`/Users/dgreen/Documents/packages/jdk7/bsd-port/build/bsd-i586/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


My build is invoked as follows:

david-greens-macbook-pro:bsd-port dgreen$ cat build.sh

LC_ALL=C

LANG=C

unset CLASSPATH

unset JAVA_HOME

make \

  ALT_BOOTDIR=/Users/dgreen/Documents/packages/soylatte16-i386-1.0.3/ \

  ALT_BINARY_PLUGS_PATH=/Users/dgreen/Documents/packages/jdk-7-icedtea-plugs
\

  ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \

  ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \

  ALT_CUPS_HEADERS_PATH=/usr/include \

  ANT_HOME=/usr/share/ant \

  NO_DOCS=true \

  ARCH_DATA_MODEL=64 \

  HOTSPOT_BUILD_JOBS=2


The only thing that I changed is between builds is ARCH_DATA_MODEL=64

Any help would be appreciated.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20090511/8ad09f36/attachment.html 


More information about the porters-dev mailing list