Building OpenJDK on Mavericks (OS X 10.9)

William Moore wmoore40 at gmail.com
Tue Dec 10 05:48:07 PST 2013


Thanks David

Maybe I can do something with Mountain Lion running in a virtual machine. I’ll investigate that.

William

On 9 Dec 2013, at 6:26pm, David DeHaven <david.dehaven at oracle.com> wrote:

> 
>> Back in September when I had Mountain Lion (OS X 10.8) I was able to build my own version of OpenJDK 7 Update 40.
>> 
>> Now I have Mavericks (OS X 10.9) and it fails to build Hotspot with the error:
>> 
>>> clang: error: argument unused during compilation: '-fcheck-new’
>> 
>> If I comment out the setting of this value in hotspot/make/bsd/makefiles/gcc.make I get other errors like:
>> 
>>> hotspot/src/share/vm/adlc/archDesc.cpp:335:35: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>> 
>> What do I have to do to make this compile?
>> 
>> I know very little about C programming. Any help will be greatly appreciated.
>> 
>> Best regards
>> 
>> William
> 
> Building JDK 8 with Xcode 5 is still a work in progress, I don't expect that effort to be backported to 7u so you might need to scrape up a copy of Xcode 4.6 to build with. The big issue is Xcode 5 does not include gcc and 7u does not build with clang without significant changes.
> 
> -DrD-
> 



More information about the macosx-port-dev mailing list