8186476: Re: linux-sparc and linux-zero builds broken

Thomas Stüfe thomas.stuefe at gmail.com
Tue Aug 29 06:21:38 UTC 2017


Yes, all our nightly ppc and s390 builds are broken. I'm looking at AIX
right now.

..Thomas

On Tue, Aug 29, 2017 at 12:24 AM, John Paul Adrian Glaubitz <
glaubitz at physik.fu-berlin.de> wrote:

> After regexp-replacing STATIC_CAST with STATIC_ASSERT, I'm confronted with:
>
> /home/glaubitz/hs/hotspot/src/os_cpu/linux_s390/vm/atomic_linux_s390.hpp:
> In instantiation of 'D Atomic::PlatformAdd<byte_size>::add_and_fetch(I,
> volatile D*)
> const [with I = int; D = int; long unsigned int byte_size = 4]':
> /home/glaubitz/hs/hotspot/src/share/vm/runtime/atomic.hpp:430:74:
>  required from 'D Atomic::AddAndFetch<Derived>::operator()(I, volatile
> D*) const [with I =
> int; D = int; Derived = Atomic::PlatformAdd<4>]'
> /home/glaubitz/hs/hotspot/src/share/vm/runtime/atomic.hpp:367:36:
>  required from 'D Atomic::AddImpl<I, D, typename EnableIf<(((IsIntegral<T>::value
> &&
> IsIntegral<U>::value) && (sizeof (I) <= sizeof (D))) &&
> (IsSigned<T>::value == IsSigned<D>::value))>::type>::operator()(I,
> volatile D*) const [with I = int; D =
> int; typename EnableIf<(((IsIntegral<T>::value && IsIntegral<U>::value)
> && (sizeof (I) <= sizeof (D))) && (IsSigned<T>::value ==
> IsSigned<D>::value))>::type =
> void]'
> /home/glaubitz/hs/hotspot/src/share/vm/runtime/atomic.hpp:353:25:
>  required from 'static D Atomic::add(I, volatile D*) [with I = int; D =
> int]'
> /home/glaubitz/hs/hotspot/src/share/vm/runtime/atomic.hpp:405:73:
>  required from here
> /home/glaubitz/hs/hotspot/src/os_cpu/linux_s390/vm/atomic_linux_s390.hpp:122:6:
> error: insufficient contextual information to determine type
>      );
>       ^
> /home/glaubitz/hs/hotspot/src/os_cpu/linux_s390/vm/atomic_linux_s390.hpp:137:6:
> error: insufficient contextual information to determine type
>      );
>       ^
> /home/glaubitz/hs/hotspot/src/os_cpu/linux_s390/vm/atomic_linux_s390.hpp:
> In instantiation of 'D Atomic::PlatformAdd<byte_size>::add_and_fetch(I,
> volatile D*)
> const [with I = long unsigned int; D = long unsigned int; long unsigned
> int byte_size = 8]':
> /home/glaubitz/hs/hotspot/src/share/vm/runtime/atomic.hpp:430:74:
>  required from 'D Atomic::AddAndFetch<Derived>::operator()(I, volatile
> D*) const [with I =
> long unsigned int; D = long unsigned int; Derived =
> Atomic::PlatformAdd<8>]'
> /home/glaubitz/hs/hotspot/src/share/vm/runtime/atomic.hpp:367:36:
>  required from 'D Atomic::AddImpl<I, D, typename EnableIf<(((IsIntegral<T>::value
> &&
> IsIntegral<U>::value) && (sizeof (I) <= sizeof (D))) &&
> (IsSigned<T>::value == IsSigned<D>::value))>::type>::operator()(I,
> volatile D*) const [with I = long
> unsigned int; D = long unsigned int; typename EnableIf<(((IsIntegral<T>::value
> && IsIntegral<U>::value) && (sizeof (I) <= sizeof (D))) &&
> (IsSigned<T>::value ==
> IsSigned<D>::value))>::type = void]'
> /home/glaubitz/hs/hotspot/src/share/vm/runtime/atomic.hpp:353:25:
>  required from 'static D Atomic::add(I, volatile D*) [with I = long
> unsigned int; D = long
> unsigned int]'
> /home/glaubitz/hs/hotspot/src/share/vm/services/mallocTracker.hpp:58:29:
>  required from here
> /home/glaubitz/hs/hotspot/src/os_cpu/linux_s390/vm/atomic_linux_s390.hpp:173:6:
> error: insufficient contextual information to determine type
>      );
>       ^
> /home/glaubitz/hs/hotspot/src/os_cpu/linux_s390/vm/atomic_linux_s390.hpp:188:6:
> error: insufficient contextual information to determine type
>      );
>       ^
> lib/CompileJvm.gmk:208: recipe for target '/home/glaubitz/hs/build/
> linux-s390x-normal-server-release/hotspot/variant-server/libjvm/objs/abstractCompiler.o'
> failed
> make[3]: *** [/home/glaubitz/hs/build/linux-s390x-normal-server-
> release/hotspot/variant-server/libjvm/objs/abstractCompiler.o] Error 1
> make[3]: Leaving directory '/home/glaubitz/hs/hotspot/make'
> make/Main.gmk:263: recipe for target 'hotspot-server-libs' failed
> make[2]: *** [hotspot-server-libs] Error 2
> make[2]: *** Waiting for unfinished jobs....
> /usr/lib/jvm/java-8-openjdk-s390x/bin/java -XX:+UseSerialGC -Xms32M
> -Xmx512M -XX:TieredStopAtLevel=1 -Duser.language=en -Duser.country=US  -cp
> /home/glaubitz/hs/build/linux-s390x-normal-server-release/buildtools/jdk_tools_classes
> build.tools.charsetmapping.Main
> /home/glaubitz/hs/jdk/make/data/charsetmapping
> /home/glaubitz/hs/build/linux-s390x-normal-server-release/
> support/gensrc/jdk.charsets/sun/nio/cs/ext hkscs
> '/home/glaubitz/hs/jdk/make/src/classes/build/tools/
> charsetmapping/HKSCS.java'
> Generating jdk.charsets euctw
> /usr/bin/touch '/home/glaubitz/hs/build/linux-s390x-normal-server-
> release/support/gensrc/jdk.charsets/sun/nio/cs/ext/_the.
> charsetmapping-hkscs'
> /usr/lib/jvm/java-8-openjdk-s390x/bin/java -XX:+UseSerialGC -Xms32M
> -Xmx512M -XX:TieredStopAtLevel=1 -Duser.language=en -Duser.country=US  -cp
> /home/glaubitz/hs/build/linux-s390x-normal-server-release/buildtools/jdk_tools_classes
> build.tools.charsetmapping.Main
> /home/glaubitz/hs/jdk/make/data/charsetmapping
> /home/glaubitz/hs/build/linux-s390x-normal-server-release/
> support/gensrc/jdk.charsets/sun/nio/cs/ext euctw
> '/home/glaubitz/hs/jdk/make/src/classes/build/tools/
> charsetmapping/EUC_TW.java'
> Generating support/gensrc/jdk.charsets/sun/nio/cs/ext/sjis0213.dat
> /usr/bin/touch '/home/glaubitz/hs/build/linux-s390x-normal-server-
> release/support/gensrc/jdk.charsets/sun/nio/cs/ext/_the.
> charsetmapping-euctw'
> /usr/lib/jvm/java-8-openjdk-s390x/bin/java -XX:+UseSerialGC -Xms32M
> -Xmx512M -XX:TieredStopAtLevel=1 -Duser.language=en -Duser.country=US  -cp
> /home/glaubitz/hs/build/linux-s390x-normal-server-release/buildtools/jdk_tools_classes
> build.tools.charsetmapping.Main
> '/home/glaubitz/hs/jdk/make/data/charsetmapping/sjis0213.map'
> '/home/glaubitz/hs/build/linux-s390x-normal-server-
> release/support/gensrc/jdk.charsets/sun/nio/cs/ext/sjis0213.dat' sjis0213
>
> I have been looking at the code for over half an hour but I couldn't find
> the actual problem.
>
> Anyone got an idea?
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz at debian.org
> `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>


More information about the hotspot-dev mailing list