Build failures on OS X 10.9.3

Ben Evans benjamin.john.evans at gmail.com
Tue Sep 16 14:18:33 UTC 2014


I seem to have proper command line:

boxcat$ /usr/bin/gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix

The things that concerns me are:

1) This appears to be a regression on both OpenJDK 8 & OpenJDK 9 -
this used to work fine.

2) The TrueType part also concerns me. I really don't think that we
should be telling Mac users to install homebrew or Macports just to
get a working build. The non-core Mac packaging systems have always
pain for me to debug if anything ever goes wrong with them. I could
see them sucking in a lot of time if we make them part of our
toolchain.

One obvious (partial) fix would be to backport to OpenJDK 8 whatever
autoconf goodness OpenJDK 9 has which is correctly detecting the Clang
version. My autoconf-foo is not strong, however.

Thanks,

Ben


On Tue, Sep 16, 2014 at 3:02 PM, Martijn Verburg
<martijnverburg at gmail.com> wrote:
> You have the latest xcode CL tools installed?  It can clash with Xcode 4 &
> 5, I uninstalled 4 completely.  Macports may also help get that last lib you
> need.
>
> Cheers,
> Martijn
>
> On 16 September 2014 14:56, Ben Evans <benjamin.john.evans at gmail.com> wrote:
>>
>> Hi,
>>
>> I am seeing 2 different build failures for JDK 8 and JDK 9 on OS X
>> 10.9.3. The configure script fails for both JDK versions.
>>
>> JDK 8: Fails to recognise the output of /usr/bin/gcc -version (which
>> is, of course, really a disguised clang). Note that JDK 9 correctly
>> handles this output and passes this check.
>>
>> JDK 9: Wants freetype headers, but can't find them. The last time I
>> saw this being a problem was building OpenJDK 6 on Linux, back in the
>> day.
>>
>> Thoughts, anyone?
>>
>> Thanks,
>>
>> Ben
>
>


More information about the adoption-discuss mailing list