Mac build failing

Phil Race philip.race at oracle.com
Mon May 9 19:29:57 UTC 2016


https://bugs.openjdk.java.net/browse/JDK-8152856

-phil.

On 05/09/2016 12:20 PM, Pete Brunet wrote:
> Am running into a build problem on Mac.
>
> Creating libjvm.dylib from 771 file(s)
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/precompiled/precompiled.hpp:30:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/asm/assembler.inline.hpp:31:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/cpu/x86/vm/assembler_x86.inline.hpp:30:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/code/codeCache.hpp:28:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/code/codeBlob.hpp:30:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/runtime/frame.hpp:28:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/oops/method.hpp:33:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/oops/constantPool.hpp:32:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/oops/typeArrayOop.hpp:29:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/oops/typeArrayKlass.hpp:29:
> In file included from
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/oops/arrayKlass.hpp:29:
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/oops/klass.hpp:327:58:
> error: shifting a negative signed value is undefined
> [-Werror,-Wshift-negative-value]
>      return (juint)lh >= (juint)(_lh_array_tag_type_value <<
> _lh_array_tag_shift);
>                                  ~~~~~~~~~~~~~~~~~~~~~~~~ ^
> /Users/petebrunet/JDK9/JDK-8145207/client/hotspot/src/share/vm/oops/klass.hpp:331:55:
> error: shifting a negative signed value is undefined
> [-Werror,-Wshift-negative-value]
>      return (jint)lh < (jint)(_lh_array_tag_type_value <<
> _lh_array_tag_shift);
>                               ~~~~~~~~~~~~~~~~~~~~~~~~ ^
> 2 errors generated.
> make[4]: ***
> [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/precompiled/precompiled.hpp.pch]
> Error 1
> make[3]: *** [variant-server-libs] Error 2
> make[2]: *** [hotspot] Error 2
> make[2]: *** Waiting for unfinished jobs....
>
> One thing that is different is that Xcode 7.3.1 force installed itself
> last week so this morning I reinstalled 6.2 and copied the 10.9 SDK into
> the 7.3.1 SDK directory as per this info:
> http://blog.felix-schwarz.org/post/141482111524/how-to-use-the-os-x-109-sdk-with-xcode-73
>
> Then I reconfigured using --with-sdk-name=macosx10.9 (no errors
> reported), ran make clean, and make images and got the above report.
>
> Pete
>




More information about the build-dev mailing list