Good Morning,

As documented in much detail in the following ticket, 21.0.7 broke Aarch64 
support on the Cortex A53 CPU.

https://github.com/adoptium/adoptium-support/issues/1295

There is a reproducer in the Ticket, basically the steps are:


  *
Setup Ubuntu cloud image on qemu-system-aarch64, and use a Cortex A53 CPU
  *
Download and use Java 21.0.7+6 - I tried Temurin, Microsoft and Azul. All 
misbehave.
  *
"Using" means e.g. running ./gradlew tasks on any freshly downloaded repo, e.g. 
the gradle sample repo.
  *
... or running any more complex java program, which immediately exhibits 
strange behavior like these:
     *
java.security.ProviderException: Cannot find aliases for HmacSHA512
        *
Note: It is not a specific algorithm which is not found, it just randomly fails 
on very different ones.
     *
java.lang.IllegalArgumentException: java.lang.ClassFormatError: Duplicate 
method name "toString" with signature "()Ljava.lang.String;" in class file 
jdk/proxy2/$Proxy3
     *
Exception in thread "main" java.lang.annotation.IncompleteAnnotationException: 
java.lang.annotation.Retention missing element value
     *
... and even more ...
        *
Another note: of course the very same binaries run without any issue on other 
CPUs, like the A57 for instance.

I first thought that this is an issue with my actual A53 hardware I have here. 
However since this behavior is the same also on an emulated A53 in QEMU: here I 
am reporting 🙂

Versions before 21.0.7(+?) do not expose these problems. I can run any program 
just fine on 21.0.6+7 and older.

The GitHub issue has a lot of information already present, but I can provide 
more on demand - both from an emulator as well as the real hardware.

Any help would be greatly appreciated - even if it is a statement that A53 is 
no longer supported (which would be a bummer, we have a lot of hardware with 
those CPUs).

Best, Markus

SSI Schäfer Software Development GmbH | Friesachstraße 15 | 8114 Friesach | 
Austria
Registered Office: Friesach | Commercial Register: 617462h | VAT no. ATU80145424
Commercial Court: Landesgericht für Zivilrechtssachen Graz
Managing Directors: Manfred Muckenhumer, Barbara Schlosser

Unsere Hinweise zum Umgang mit personenbezogenen Daten finden Sie 
hier<https://www.ssi-schaefer.com/de-at/datenschutz>.
You can find our information on the handling of personal data 
here<https://www.ssi-schaefer.com/en-de/privacy>.

Reply via email to