]> git.ipfire.org Git - thirdparty/qemu.git/commit
gitlab: use 'setarch -R' to workaround tsan bug
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 13 May 2024 11:15:51 +0000 (12:15 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 27 May 2024 19:05:52 +0000 (22:05 +0300)
commit6df1431678fb8a13f5395021dc7cd486c9404bc1
tree7b6a84246137b8be677545dd60ced62ac70e5386
parentd488e255beb880c274031f348ae0c97bd783b63a
gitlab: use 'setarch -R' to workaround tsan bug

The TSAN job started failing when gitlab rolled out their latest
release. The root cause is a change in the Google COS version used
on shared runners. This brings a kernel running with

 vm.mmap_rnd_bits = 31

which is incompatible with TSAN in LLVM < 18, which only supports
upto '28'. LLVM 18 can support upto '30', and failing that will
re-exec itself to turn off VA randomization.

Our LLVM is too old for now, but we can run with 'setarch -R make ..'
to turn off VA randomization ourselves.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240513111551.488088-4-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit b563959b906db53fb4bcaef1351f11a51c4b9582)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
.gitlab-ci.d/buildtest.yml