The repository for Debian ships 32-bit ARM binaries for arm64
Since a while the Debian repository (deb https://packages.gitlab.com/runner/gitlab-runner/debian/ stretch main
) ships binaries built for different architecture than advertised.
13.1.2:
root@1-c1-large-arm:~# file /usr/lib/gitlab-runner/gitlab-runner
/usr/lib/gitlab-runner/gitlab-runner: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, stripped
13.4.1:
root@1-c1-large-arm:~# file /usr/bin/gitlab-runner
/usr/bin/gitlab-runner: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped
This poses a problem on aarch64 servers with CPUs without "ARM 32" compatibility mode such as Cavium ThunderX, where running gitlab-runner
simply results in Format exec error
message.