Thorsten Glaser
2024-04-12 16:40:01 UTC
Source: openjdk-21
X-Debbugs-Cc: ***@mirbsd.de, debian-***@lists.debian.org
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~=092024-04-12 18:24:38.58468=
6322 +0200
+++ src/hotspot/os/linux/waitBarrier_linux.hpp=092024-04-12 18:24:46.768716=
977 +0200
@@ -29,7 +29,7 @@
#include "utilities/globalDefinitions.hpp"
=20
class LinuxWaitBarrier : public CHeapObj<mtInternal> {
- volatile int _futex_barrier;
+ volatile int _futex_barrier __attribute__((__aligned__(4)));
=20
NONCOPYABLE(LinuxWaitBarrier);
=20
Thanks!
(This is what I found trying to build openjdk-20, but it=E2=80=99ll be
needed in 21 as well. Even getting to this point took 13=C2=BD days
already=E2=80=A6)
X-Debbugs-Cc: ***@mirbsd.de, debian-***@lists.debian.org
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~=092024-04-12 18:24:38.58468=
6322 +0200
+++ src/hotspot/os/linux/waitBarrier_linux.hpp=092024-04-12 18:24:46.768716=
977 +0200
@@ -29,7 +29,7 @@
#include "utilities/globalDefinitions.hpp"
=20
class LinuxWaitBarrier : public CHeapObj<mtInternal> {
- volatile int _futex_barrier;
+ volatile int _futex_barrier __attribute__((__aligned__(4)));
=20
NONCOPYABLE(LinuxWaitBarrier);
=20
Thanks!
(This is what I found trying to build openjdk-20, but it=E2=80=99ll be
needed in 21 as well. Even getting to this point took 13=C2=BD days
already=E2=80=A6)