RFR: 8369080: Use uname -m for devkit cpu detection

Erik Joelsson erikj at openjdk.org
Fri Oct 3 13:03:53 UTC 2025


On Fri, 3 Oct 2025 03:16:32 GMT, Mikael Vidstedt <mikael at openjdk.org> wrote:

> The devkit creation uses uname -p for detection the cpu architecture. uname -p is non-portable and no longer works on recent Linux/distributions (e.g. OL10). It should be changed to uname -m which is portable and works.
> 
> Testing: manual verification on ol{7,8,9,10}-{aarch64,x86_64}

Marked as reviewed by erikj (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27617#pullrequestreview-3298862835


More information about the build-dev mailing list