You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github: Reduce ASLR entropy to be compatible with asan in llvm 14.
Starting with image version 20240310.1.0, GitHub runners are using
32-bit entropy for ASLR:
$ sudo sysctl -a | grep vm.mmap.rnd
vm.mmap_rnd_bits = 32
vm.mmap_rnd_compat_bits = 16
This breaks all the asan-enabled builds, because older asan gets
confused by memory mappings and crashes with segmentation fault.
The issue is fixed in newer releases of llvm:
llvm/llvm-project@fb77ca0https://reviews.llvm.org/D148280
But these are not available in Ubuntu 22.04 image.
This should be fixed by GitHub, but until new images are available
reducing ASLR entropy manually to 28 bits to make builds work.
Reported-at: actions/runner-images#9491
Acked-by: Eelco Chaudron <[email protected]>
Acked-by: Dumitru Ceara <[email protected]>
Acked-by: Aaron Conole <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
0 commit comments