> The 
> [test/hotspot/jtreg/runtime/jni/critical/libSuspendInCritical.cpp](https://github.com/openjdk/jdk/pull/30936/changes#diff-137899820d5ad5d36c91c879aa09a9678112d4be6718ba8e64ebfe1a20f6dda3)
>  library operates with `jlong` native_counter. 32-bit ARM lacks native 8-byte 
> atomic instructions, so GCC emits calls to 
> __atomic_load_8/__atomic_fetch_add_8 from libatomic, which is not linked, 
> causing a build failure.
> 
> The issue is fixed by adding -latomic link flag for the library into 
> JtregNativeHotspot.gmk.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Boris Ulasevich has updated the pull request incrementally with one additional 
commit since the last revision:

  update the copyright year

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/31411/files
  - new: https://git.openjdk.org/jdk/pull/31411/files/f2fbe1fb..edf77fd5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=31411&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31411&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/31411.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31411/head:pull/31411

PR: https://git.openjdk.org/jdk/pull/31411

Reply via email to