RFR: 8332253: Linux arm32 build fails after 8292591

Sergey Bylokhov serb at openjdk.org
Tue May 14 22:07:10 UTC 2024


The build on arm32 may fail during cross-compilation if the toolchain is old.

The raw constant "389" is described [here](https://github.com/torvalds/linux/blob/4b95dc87362aa57bdd0dcbad109ca5e5ef3cbb6c/arch/arm/tools/syscall.tbl#L406C12-L406C22) and [here ](https://chromium.googlesource.com/chromiumos/docs/+/master/constants/syscalls.md#arm-32_bit_EABI)

Also verified by the next code example: [test.c](https://github.com/openjdk/jdk/pull/10721#issuecomment-1280598034)

Note: similar bugs in the past: https://github.com/openjdk/jdk/pull/10771 and https://github.com/openjdk/jdk/pull/10721

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

Commit messages:
 - 8332253: Linux arm32 build fails after 8292591

Changes: https://git.openjdk.org/jdk/pull/19237/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19237&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8332253
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19237.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19237/head:pull/19237

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


More information about the hotspot-runtime-dev mailing list