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
The issue is caused by incompatibility between llvm 14 provided in ubuntu-22.04 image and the much newer kernel configured with high-entropy ASLR.
#3481
an updated version of llvm/clang that will be compatible with a new kernel.
or a kernel config change to reduce the entropy.
or a global sysctl change to set vm.mmap_rnd_bits = 28.
As a workaround the following addition to the workflow makes builds to work with a new image:
- name: Fix kernel mmap rnd bits
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
# high-entropy ASLR in much newer kernels that GitHub runners are
# using leading to random crashes: https://reviews.llvm.org/D148280
run: sudo sysctl vm.mmap_rnd_bits=28
In 20240304.1.0:
In 20240310.1.0:
The isue was fixed in newer versions of llvm:
llvm/llvm-project@fb77ca0
https://reviews.llvm.org/D148280
So, we either need:
As a workaround the following addition to the workflow makes builds to work with a new image:
Originally posted by @igsilya in actions/runner-images#9491 (comment)
The text was updated successfully, but these errors were encountered: