I spent most of a day getting my new development environment set up, because I kept hitting issues that nobody at my new employer had experienced before. A "perfect storm" of coincidences that conspired together to completely wreck my chance of a simple setup.
The factors?
- Apple's M4 processors remove the SVE architecture and its instruction set, which was present in the M1 through M3
- The Colima dockerisation tool still reports to arm64 containers that SVE is available
- Java < 24 will, by default, use SVE for some functions if it's told that it's available
- Opensearch 2.x will not run on Java > 23
If ANY ONE of those statements were not true, I wouldn't have had any trouble. But the combination of all four of them meant that I was getting proper segfault-death crashes.
I blame Apple. Who removes instructions from a processor within the same family‽ (I'm sure that in reality there's probably some important reason for it that's beyond my ken, but still!)
#note #apple #programming #computers #technology #docker #firstup #job #work #employment #java
Via:
https://danq.me/2025/07/16/m4-colima-sve-headaches/