File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,13 @@ 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 : |
306+ sudo sysctl -w vm.mmap_rnd_bits=28
301307 export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
302308 ./.github/scripts/build.sh
303309 # We skip QoR since we are only checking for errors in sanitizer runs
@@ -349,6 +355,7 @@ jobs:
349355 CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on'
350356 BUILD_TYPE : debug
351357 run : |
358+ sudo sysctl -w vm.mmap_rnd_bits=28
352359 export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
353360 ./.github/scripts/build.sh
354361 ./run_reg_test.py odin_reg_basic -show_failures -j2
You can’t perform that action at this time.
0 commit comments