x86: Work-around failing intel-iommu test due to bug in GCC v16.1
PATCH 1/1 x86: Work-around failing intel-iommu test due to bug in GCC v16.1
From: Thomas Huth <[email protected]>
GCC v16.1 has a bug that causes the intel-iommu test to fail:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125180
Add a work-around for the time being until this is fixed, so we can get our CI green again.
Signed-off-by Thomas Huth <[email protected]>
--- x86/Makefile.x86_64 | 5 +++++ 1 file changed, 5 insertions(+)
x86/Makefile.x86_64 +5 -0
@@ -65,3 +65,8 @@ $(TEST_DIR)/hyperv_clock.$(bin): $(TEST_DIR)/hyperv_clock.o $(TEST_DIR)/vmx.$(bin): $(TEST_DIR)/vmx_tests.o $(TEST_DIR)/svm.$(bin): $(TEST_DIR)/svm_tests.o $(TEST_DIR)/svm_npt.$(bin): $(TEST_DIR)/svm_npt.o + +# Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125180 +fno_fuse_ops_with_volatile := $(call cc-option, -fno-fuse-ops-with-volatile-access,) +$(TEST_DIR)/intel-iommu.o: CFLAGS += $(fno_fuse_ops_with_volatile) +lib/pci-edu.o: CFLAGS += $(fno_fuse_ops_with_volatile)
Signature · 1 line
2.54.0