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

Daniel D. Daugherty daniel.daugherty at oracle.com
Mon Aug 28 20:09:50 UTC 2017


Changeset: 9cf835fba355
Author:    mdoerr
Date:      2017-08-24 14:56 +0200
URL: http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/9cf835fba355

8186734: AIX build broken after 8186166: Generalize Atomic::cmpxchg with 
templates
Reviewed-by: goetz

! src/os_cpu/aix_ppc/vm/atomic_aix_ppc.hpp


Same bug, different platform?

Dan


On 8/28/17 1:53 PM, John Paul Adrian Glaubitz wrote:
> On 08/28/2017 08:50 PM, John Paul Adrian Glaubitz wrote:
>> /home/glaubitz/openjdk/hs/hotspot/src/os_cpu/linux_sparc/vm/atomic_linux_sparc.hpp:65:3: error: there are no arguments to ‘STATIC_CAST’ that depend on a
>> template parameter, so a declaration of ‘STATIC_CAST’ must be available [-fpermissive]
>>     STATIC_CAST(4 == sizeof(I));
>>     ^~~~~~~~~~~
> Odd. STATIC_CAST() doesn't seem to be defined anywhere in the source code and
> from  the context, it rather looks like STATIC_ASSERT() was meant here rather
> than STATIC_CAST(), wasn't it?
>
> Adrian
>



More information about the hotspot-dev mailing list