The latest GH Action runners started using 32-bit entropy for ASLR,
which makes it incompatible with llvm-14. This was fixed in later llvm
releases, but these aren't available on Ubuntu Jammy (22.04). Let's
reduce the ASLR entropy to 28-bit, which should make llvm happy again,
until the issue is resolved.
See: https://github.com/actions/runner-images/issues/9491
steps:
- name: Repository checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
+ # FIXME: drop once https://github.com/actions/runner-images/issues/9491 is resolved
+ - name: Reduce ASLR entropy
+ run: sudo sysctl -w vm.mmap_rnd_bits=28
- name: Build check
run: .github/workflows/build_test.sh
steps:
- name: Repository checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
+ # FIXME: drop once https://github.com/actions/runner-images/issues/9491 is resolved
+ - name: Reduce ASLR entropy
+ run: sudo sysctl -w vm.mmap_rnd_bits=28
- name: Install build dependencies
run: |
# Drop XDG_* stuff from /etc/environment, so we don't get the user