minor changes required to have the port on OSX

Arul Dhesiaseelan aruld at acm.org
Fri Oct 22 07:35:33 PDT 2010


wow, that fixed my build problems as well on my 64-bit OSX. Thanks Neo.

-Arul

On Thu, Oct 21, 2010 at 11:16 PM, wx lin <wxlin2k at yahoo.ca> wrote:

> Hi All,
> I might have spotted a minor bug in the
> /bsd-port/hotspot/make/bs/makefiles/defs.make of the current version of
> openJDK7.
>
> Since the file is using ARCH:=$(shell uname -m) to obtain the system
> architecture of OSX.
> uname -m came back as x86_64 on mac
>
> However, the options below only response to amd64 but not x86_64. This will
> lead to failure of the 64bit build on OSX.
> # amd64
> ifeq ($(ARCH), amd64)  -> should be x86_64 for mac, which means we might
> need a separate entry for Darwin systems.
>   ifeq ($(ARCH_DATA_MODEL), 64)
>     ARCH_DATA_MODEL = 64
>     MAKE_ARGS       += LP64=1
>     PLATFORM        = bsd-amd64
>     VM_PLATFORM     = bsd_amd64
>     HS_ARCH         = x86
>   else
>     ARCH_DATA_MODEL = 32
>     PLATFORM        = bsd-i586
>     VM_PLATFORM     = bsd_i486
>     HS_ARCH         = x86
>     # We have to reset ARCH to i386 since SRCARCH relies on it
>     ARCH            = i386
>   endif
> endif
>
> Will some one on the openJDK7 bsd-port fixes this for us? I have made the
> changes locally for my build. Works fine.
> Just want to let you guys know.
>
> Neo.
>
>
>
>
>


-- 
--
http://aruld.info
http://twitter.com/aruld
http://www.linkedin.com/in/aruld
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20101022/2ce453c6/attachment.html 


More information about the bsd-port-dev mailing list