[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-build-dev
Subject:    Integrated: 8256831: MIPS Zero builds fail with undefined __atomic_compare_exchange_8
From:       Aleksey Shipilev <shade () openjdk ! java ! net>
Date:       2020-11-26 11:28:56
Message-ID: yezxMjycENTALhfN79npNrSPQcDdkTRVEJYSV4aVu_4=.bf4f3c42-112c-45e5-86ec-b3d82b0cd4df () github ! com
[Download RAW message or body]

On Sun, 22 Nov 2020 14:40:12 GMT, Aleksey Shipilev <shade@openjdk.org> wrote:

> If you try to build `linux-mipsel-zero-fastdebug`, this happens:
> 
> 
> 
> 
> 
> 
> 
> I think it relates to \
> [JDK-8253970](https://bugs.openjdk.java.net/browse/JDK-8253970) that introduced \
> `atomic_compare_exchange` on those paths, but maybe the issue exists for longer.  
> Various other reports for build failures like this suggest the binary should link \
> with `libatomic`. GCC's `libatomic` is the library that provides runtime support \
> for atomics not supported in hardware, which seems to include 8-byte CAS for MIPS, \
> but not any other OpenJDK platform. 
> The alternative would be to massage the otherwise generic Zero code to unimplement \
> the 8-byte CAS. 
> Attention @DamonFool, who must be running into this problem for their MIPS builds?
> 
> Testing:
> - [x] Linux mipsel Zero fastdebug build (together with JDK-8256829 fix)

This pull request has now been integrated.

Changeset: 1b3aa3af
Author:    Aleksey Shipilev <shade@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1b3aa3af
Stats:     8 lines in 1 file changed: 8 ins; 0 del; 0 mod

8256831: MIPS Zero builds fail with undefined __atomic_compare_exchange_8

Reviewed-by: ihse

-------------

PR: https://git.openjdk.java.net/jdk/pull/1375


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic