> 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-