Building OpenJDK on Mavericks (OS X 10.9)

William Moore wmoore40 at gmail.com
Sun Dec 8 03:03:43 PST 2013


Hi

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


More information about the macosx-port-dev mailing list