Skip to content

Commit a5efa41

Browse files
comment to explain why the fix is needed
1 parent 132e9e9 commit a5efa41

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,11 @@ jobs:
297297
CMAKE_PARAMS: ${{ matrix.params }}
298298
BUILD_TYPE: debug
299299
LSAN_OPTIONS: 'exitcode=42' #Use a non-standard exit code to ensure LSAN errors are detected
300+
# In Ubuntu 20240310.1.0, the entropy of ASLR has increased (28 -> 32). LLVM 14 in this
301+
# image is not compatible with this increased ASLR entropy. Apparently, memory sanitizer
302+
# depends on LLVM and all CI tests where VTR_ENABLE_SANITIZE is enabled fail. For a temporary
303+
# fix, we manually reduce the entropy. This quick fix should be removed in the future
304+
# when github deploys a more stable Ubuntu image.
300305
run: |
301306
sudo sysctl -w vm.mmap_rnd_bits=28
302307
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"

0 commit comments

Comments
 (0)