Source: openjdk-21
X-Debbugs-Cc: [email protected], [email protected]
Please add the following patch e.g. to debian/patches/m68k-support.diff
for more making implicit alignment assumptions (here by the futex
syscall) explicit:
--- src/hotspot/os/linux/waitBarrier_linux.hpp~ 2024-04-12 18:24:38.584686322
+0200
+++ src/hotspot/os/linux/waitBarrier_linux.hpp 2024-04-12 18:24:46.768716977
+0200
@@ -29,7 +29,7 @@
#include "utilities/globalDefinitions.hpp"
class LinuxWaitBarrier : public CHeapObj<mtInternal> {
- volatile int _futex_barrier;
+ volatile int _futex_barrier __attribute__((__aligned__(4)));
NONCOPYABLE(LinuxWaitBarrier);
Thanks!
(This is what I found trying to build openjdk-20, but it’ll be
needed in 21 as well. Even getting to this point took 13½ days
already…)