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
Have a look at my tests with
bin/prepare-docker at https://github.com/Silex/docker-emacs/tree/b901a5985b9acc91d944e6ddb2325f58bd2ed029
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.