I cannot disable ASLR on the arm64 workers. On the amd64 I simply do sudo sh -c "echo 0 > /proc/sys/kernel/randomize_va_space" but on arm64 I get “permission denied” when trying to write to that file.
I tried to run the docker daemon and my docker builds with setarch aarch64 -R as it’s what is recommended for arm, but that does not work as well.
I do have sudo: required which was the workaround for amd64 images.
sysctl: permission denied on key ‘kernel.randomize_va_space’
/proc/sys/kernel/randomize_va_space: Permission denied
I need this otherwise you cannot build Emacs. The only alternative would be to crossbuild the arm images from an amd64 image but that is very slow and silly.
It looks like you missunderstood what was meant by “silly”: having to cross-build the arm64 image on amd64 just because I cannot disable ASLR on arm64. When there are only amd64 builders, sure it makes total sense, but when there are arm64 workers it is silly.
Travis should be consistent and allow to disable ASLR on both amd64 and arm64.
Also for your information Emacs starting from version 27 will not need ASLR disabling in order to be built anymore, but for this project I need to build old versions.