troubles building 64-bit VM on a mac
David Green
dgreen99 at gmail.com
Thu May 14 22:25:41 PDT 2009
Landon,
That's fantastic! I've tested the 64-bit build here (on a mac) and it works
beautifully.
BTW, from my blog post Eclipse 3.5 (Galileo) on Java
7<http://greensopinion.blogspot.com/2009/05/eclipse-35-galileo-on-jdk-7.html>
you
can see that it's quite difficult to launch Eclipse using JDK 7. Are there
some known issues that need dealing with? If there's work to be done
getting Eclipse launching smoothly on JDK 7 I'd like to help. Or perhaps
there are some patches that I'm not aware of? Any hints would be
appreciated.
Best regards,
David
On Thu, May 14, 2009 at 9:08 PM, Landon Fuller <landonf at plausiblelabs.com>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.
>
> Thanks,
> Landon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20090514/b09ce883/attachment.html
More information about the bsd-port-dev
mailing list