Changeset de5e8c8a9b87 breaks osx build

Alex Kashchenko akashche at redhat.com
Wed Feb 15 23:07:30 UTC 2017


Hi Florian,

On 02/15/2017 08:27 PM, Florian Bruckner (3kraft) wrote:
> Hey guys,
>
> out of curiosity I started to do my own OpenJDK7 builds for OSX. I can
> build until 7u111, but starting with 7u121 the build fails with this:
>
> openjdk7/hotspot/src/share/vm/opto/callGenerator.cpp:204: error:
> 'zero_page_read_protected' is not a member of 'os'
>
> which seems to be caused by changeset de5e8c8a9b87.
> zero_page_read_protected has been added to most os_*.hpp, but os_bsd.hpp
> does not contain this. In jdk8u, os_bsd.hpp it, introduced with revision
> http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/b0133e4187d3.
>
> Am I doing something wrong here or is nobody else doing OSX builds from
> these sources?

The latter statement (that nobody builds OSX from jdk7u) is probably 
correct, jdk7u repos became broken for Mac since 7u85 [1]. Even if 7u85+ 
can be compiled for Mac, it will contain a number of regression tests 
failures.

>
> regards,
>
> Florian


[1] http://mail.openjdk.java.net/pipermail/jdk7u-dev/2015-August/010379.html

-- 
-Alex


More information about the jdk7u-dev mailing list