Hello together,
does anybody compiled Erlang OTP 26 or higher for Android which is compatible for the new page size 16KB - like mentioned in Support 16 KB page sizes | Compatibility | Android Developers
and any hints on that to compile it?
Hello together,
does anybody compiled Erlang OTP 26 or higher for Android which is compatible for the new page size 16KB - like mentioned in Support 16 KB page sizes | Compatibility | Android Developers
and any hints on that to compile it?
I don’t know if Android changes this (hacked up kernel and different libc), but all recent OTP versions (at least from 23 up to 27) build and work out of the box on my M1 running Fedora 41, and that one has a 16KB page size.
Okay thanks. I got it compiled on my Ubuntu System, but I added some LDFLAGS to the compiler.
export LDFLAGS=“-Wl,-z,max-page-size=16384”
this is also mentioned in the Android Developer - NDK 27 .
After that the ELF check says its aligned to be 16 kb page size compatible.
only e.g crypto.so is aligned for 16 kb page size but not for the files beam.smp for erlang. Any hints?