On Thu, 29 Oct 2026 23:21:37 GMT, Chris Plummer <[email protected]> wrote:

>> Interesting! What kind of linux is it? The kernel should support it for sure 
>> (except pre-2.6.34 kernels). We could use
>> 
>> #ifndef PTRACE_GETREGSET
>> #define PTRACE_GETREGSET 0x4204
>> #endif
>
> The build was done on an OL9 host, but we use a devkit versioned as 
> gcc14.2.0-OL6.4+1.0 for all our linux-x64 builds, so I guess this means it is 
> based on OL6.

> Interesting! What kind of linux is it? The kernel should support it for sure 
> (except pre-2.6.34 kernels). We could use
> 
> ```c
> #ifndef PTRACE_GETREGSET
> #define PTRACE_GETREGSET 0x4204
> #endif
> ```

The kernel might support it, but it seems to be missing from the headers on 
older distros like the one Chris mentioned.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33468#discussion_r4421444105

Reply via email to