[crac] RFR: 8272472: StackGuardPages test doesn't build with glibc 2.34

Anton Kozlov akozlov at openjdk.org
Thu Dec 1 11:56:14 UTC 2022


On Thu, 1 Dec 2022 07:44:21 GMT, Jan Kratochvil <duke at openjdk.org> wrote:

> [8272472](https://bugs.openjdk.org/browse/JDK-8272472): StackGuardPages test doesn't build with glibc 2.34
> 
> ../test/hotspot/jtreg/runtime/StackGuardPages/exeinvoke.c: In function 'set_signal_handler':
> ../test/hotspot/jtreg/runtime/StackGuardPages/exeinvoke.c:72:15: error: storage size of 'altstack' isn't constant
>    72 |   static char altstack[SIGSTKSZ];
>       |               ^~~~~~~~

I'm not sure about this. The change was made for 18 and backported to JDK17.0.2. Instead of this, I'd prefer to continue CRaC development on JDK17u [1] or on openjdk/jdk master, to avoid backporting changes useful in general. Maintaining both will create some overhead though.

[1] https://mail.openjdk.org/pipermail/crac-dev/2022-May/000230.html

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

PR: https://git.openjdk.org/crac/pull/37


More information about the crac-dev mailing list