]> 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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Mar 2025 19:33:46 +0000 (04:33 +0900)
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.

.github/workflows/mkosi.yml

index 00fa67c64b96766057612c1c0efc85fa27f38b32..794025155ec4af7230069a67115ae192fee32263 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: ""