On 2014-09-16 17:41, Ben Evans wrote:
Hi,

I suspect it'll be easier to just install gcc on your mac. The last time I
checked openjdk 8 didn't compile correctly with clang, so you might also
have to patch the source code as well as the autoconf scripts.
So Apple are now shipping a compiler by default, but it's clang, which
they've aliased to gcc, despite the fact that the binaries differ?

So all the standard hacks from earlier OS versions where you test for
the presence of certain binaries to see whether devtools are installed
are now bust?

Well, isn't that ... lovely?

I'd be intruigued to know whether OpenJDK 9 will build with Clang, as
the autoconf seems happy with the behaviour of "gcc". I might install
the TrueType headers and see how far that gets.
OpenJDK 9 is supposed to compile properly with clang on macosx. Configure will auto-select clang if your Xcode version is >= N, for some number of N (I suspect 5, but I'm not sure).

As for the freetype issue, I'm not sure I understand the problem. Do you believe there is a regression? Freetype is and has always been a build requirement for OpenJDK. Is the problem that OpenJDK 9 suddenly cannot locate freetype automatically, when this has worked before?

In general, if you find issues with the build system, the best and quickest responses are often received if you post the issues to build-dev@openjdk.java.net.

/Magnus

Reply via email to