]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
automation: temporarily disable CONFIG_COVERAGE for RISC-V randconfig jobs
authorOleksii Kurochko <oleksii.kurochko@gmail.com>
Fri, 6 Jan 2023 10:28:01 +0000 (12:28 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 9 Jan 2023 17:20:19 +0000 (17:20 +0000)
As common isn't built for RISC-V architecture now, accordingly,
common/coverage (where __gconv_* function are defined) isn't built either
but randconfig may decide to enable CONFIG_COVERAGE which will lead to
the following compilation error:

riscv64-linux-gnu-ld: prelink.o: in function `.L0 ':
arch/riscv/early_printk.c:(.text+0x18):
    undefined reference to `__gcov_init'
riscv64-linux-gnu-ld: arch/riscv/early_printk.c:(.text+0x40):
    undefined reference to `__gcov_exit'

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
automation/gitlab-ci/build.yaml

index 6784974619cb80b97832fc8309f1bb3003913599..a292f0fb18d45b41eb773a2ebb8e93e4ed77aa68 100644 (file)
@@ -667,6 +667,8 @@ riscv64-cross-gcc-randconfig:
     CONTAINER: archlinux:riscv64
     KBUILD_DEFCONFIG: tiny64_defconfig
     RANDCONFIG: y
+    EXTRA_FIXED_RANDCONFIG:
+      CONFIG_COVERAGE=n
 
 riscv64-cross-gcc-debug-randconfig:
   extends: .gcc-riscv64-cross-build-debug
@@ -674,6 +676,8 @@ riscv64-cross-gcc-debug-randconfig:
     CONTAINER: archlinux:riscv64
     KBUILD_DEFCONFIG: tiny64_defconfig
     RANDCONFIG: y
+    EXTRA_FIXED_RANDCONFIG:
+      CONFIG_COVERAGE=n
 
 ## Test artifacts common