diff --git a/ci/docker/install-static-patchelf.sh b/ci/docker/install-static-patchelf.sh index 02a993f..18aa4e5 100755 --- a/ci/docker/install-static-patchelf.sh +++ b/ci/docker/install-static-patchelf.sh @@ -18,8 +18,9 @@ pushd "$BUILD_DIR" # fetch source code git clone https://github.com/NixOS/patchelf.git . -# cannot use -b since it's not supported in really old versions of git -git checkout 0.15.0 +# patchelf 0.18 and older may corrupt GNU hash tables when rewriting modern +# ELF binaries, causing the dynamic loader to crash before the application starts. +git checkout 0.19.1 # prepare configure script ./bootstrap.sh