troubles building 64-bit VM on a mac
Kurt Miller
kurt at intricatesoftware.com
Fri May 15 10:30:54 PDT 2009
Landon Fuller wrote:
>
> On May 14, 2009, at 8:58 AM, David Green wrote:
>
>> 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:
> [snip]
>> The only thing that I changed is between builds is ARCH_DATA_MODEL=64
>
> Darwin x86's uname -m returns i386 on both 32-bit/64-bit systems, which
> causes some issues with using ARCH_DATA_MODEL=64. Attached are patches
> that:
>
> - Enable overriding the default i586/i386 corba, jdk, and hotspot ARCH
> settings via ARCH_DATA_MODEL=64
> - Set -m32 and -m64 for i386/amd64 builds (should fix the Snow Leopard
> issue Weijun reported)
> - Removes i586/i686 detection cases in Hotspot's bsd/defs.make that are
> not necessary on NetBSD, FreeBSD, or OpenBSD (hw.machine always returns
> 'i386')
>
> With the patches, 32-bit and 64-bit jdk7 builds complete successfully on
> my Mac, using soylatte i386/amd64. Unless there are any objections, I'll
> go ahead and commit after testing a FreeBSD build.
There were no build regressions on OpenBSD i386. Please go ahead and
commit/push this when you are ready.
-Kurt
More information about the bsd-port-dev
mailing list