RFR: 8369080: Use uname -m for devkit cpu detection
Mikael Vidstedt
mikael at openjdk.org
Fri Oct 3 17:43:56 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}
Thank you for the reviews!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27617#issuecomment-3366620405
More information about the build-dev
mailing list