summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-01-25 18:13:57 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2021-01-26 12:33:31 +0000
commite603efb6ec5d1a2295adfda934e79f022bb7bb0e (patch)
treee88f31dc8bcd61300be1e447fb7582fddf682f1f /.gitlab-ci.yml
parent0947902d87b97ac75d9ef2edb09e7680ee4d6f79 (diff)
downloadlibvirt-e603efb6ec5d1a2295adfda934e79f022bb7bb0e.tar.gz
gitlab: force dwarf4 format for debuginfo in Fedora rawhide
Fedora 34 rawhide has pulled in a new GCC 11 build which now defaults to dwarf5 format. This format is not compatible with the pdwtags program used in our test suite to validate the RPC files. We have no need for debuginfo in CI except for pdwtags, so the simplest short term fix is to force the older dwarf version in the hope that a fixed dwarves release will arrive before Fedora 34 is released, or GCC 11 becomes more widespread. Eventually we might need to figure out a way to probe for compatibility but for now, we'll hope that any distro with GCC 11 will be able to have a fixed dwarves too. https://bugzilla.redhat.com/show_bug.cgi?id=1919965 Reviewed-by: Erik Skultety <eskultet@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8949adf7a0..5221e8b5b6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -367,6 +367,10 @@ x64-fedora-rawhide:
- x64-fedora-rawhide-container
variables:
NAME: fedora-rawhide
+ # Temp workaround until we see what resolution is for
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1919965
+ # Hopefully remove before F34 is released.
+ CFLAGS: -gdwarf-4
x64-fedora-rawhide-clang:
extends: .native_build_job