]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci/mkosi: enable sanitizers on Fedora 41
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 10 Mar 2025 16:54:28 +0000 (01:54 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 22 Mar 2025 15:51:44 +0000 (15:51 +0000)
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)

.github/workflows/mkosi.yml

index de7316329ae6315bc880e68b0e1e819acba82d01..b1834bd2718f67419a90c7bb8aa20bfcab9e0251 100644 (file)
@@ -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: ""