Skip to contentSkip to conversation

build: restrict gcc11 workaround to versions earlier than 11.3.0

PATCH In review Jan Beulich 2 participants 3 messages Aug 22, 2023 – Sep 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: restrict gcc11 workaround to versions earlier than 11.3.0

The fix for this issue was backported to 11.3, so let's not unduly engage the workaround.

xen/include/xen/compiler.h +2 -1
@@ -146,7 +146,8 @@
     __asm__ ("" : "=r"(__ptr) : "0"(ptr));      \
     (typeof(ptr)) (__ptr + (off)); })
 
-#if CONFIG_GCC_VERSION >= 110000 /* See gcc bug 100680. */
+/* See gcc bug 100680. */
+#if CONFIG_GCC_VERSION >= 110000 && CONFIG_GCC_VERSION < 110300
 # define gcc11_wrap(x) RELOC_HIDE(x, 0)
 #else
 # define gcc11_wrap(x) (x)
#1 lore raw

Ping: [PATCH] build: restrict gcc11 workaround to versions earlier than 11.3.0

Quoted 4 lines · Jan Beulich

The fix for this issue was backported to 11.3, so let's not unduly engage the workaround.

Anyone? Please?

Thanks, Jan

Quoted 13 lines
xen/include/xen/compiler.h +2 -1
@@ -146,7 +146,8 @@
     __asm__ ("" : "=r"(__ptr) : "0"(ptr));      \
     (typeof(ptr)) (__ptr + (off)); })
 
-#if CONFIG_GCC_VERSION >= 110000 /* See gcc bug 100680. */
+/* See gcc bug 100680. */
+#if CONFIG_GCC_VERSION >= 110000 && CONFIG_GCC_VERSION < 110300
 # define gcc11_wrap(x) RELOC_HIDE(x, 0)
 #else
 # define gcc11_wrap(x) (x)