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

Mikael Vidstedt mikael at openjdk.org
Fri Oct 3 17:43:57 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}

This pull request has now been integrated.

Changeset: 0935b76c
Author:    Mikael Vidstedt <mikael at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0935b76c6bd1fbfa0a431eedb54c51f6fe4d194e
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8369080: Use uname -m for devkit cpu detection

Reviewed-by: iris, erikj

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

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


More information about the build-dev mailing list