From: Yu Watanabe Date: Mon, 10 Mar 2025 16:54:28 +0000 (+0900) Subject: ci/mkosi: enable sanitizers on Fedora 41 X-Git-Tag: v257.5~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbd6350b49db55fda3b964245e50e34e6caa2897;p=thirdparty%2Fsystemd.git ci/mkosi: enable sanitizers on Fedora 41 It seems the recent update of LLVM package in Fedora rawhide breaks sanitizers, and udevd freezes after false-positive (I guess) issue is detected: systemd-udevd[2646]: ================================================================= systemd-udevd[2646]: ==2646==ERROR: AddressSanitizer: stack-buffer-underflow on address 0x7ffc3a642660 at pc 0x555627ac022b bp 0x7ffc3a6422b0 sp 0x7ffc3a6422a8 systemd-udevd[2646]: READ of size 8 at 0x7ffc3a642660 thread T0 ((udev-worker)) llvm-19.1.7-11.fc43 worked fine, but llvm-20.1.0-1.fc43 does not. To avoid the issue, let's enable sanitizer on Fedora 41, and disable it on Fedora rawhide. Closes #36678. (cherry picked from commit 9670922d4480af35bf6ab20ef5de3a41b4d48c4d) --- diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index de7316329ae..b1834bd2718 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -80,19 +80,19 @@ jobs: skip: TEST-21-DFUZZER - distro: fedora release: "41" - sanitizers: "" - llvm: 0 + sanitizers: address,undefined + llvm: 1 cflags: "-Og" relabel: yes vm: 0 - skip: TEST-21-DFUZZER - distro: fedora release: rawhide - sanitizers: address,undefined - llvm: 1 + sanitizers: "" + llvm: 0 cflags: "-Og" relabel: yes vm: 0 + skip: TEST-21-DFUZZER - distro: opensuse release: tumbleweed sanitizers: ""