[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] build: restrict gcc11 workaround to versions earlier than 11.3.0
commit 7a952cc3ecfd948272bec91218a4862418e5a321 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Tue Sep 12 11:02:16 2023 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Tue Sep 12 11:02:16 2023 +0200 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. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Julien Grall <jgrall@xxxxxxxxxx> --- xen/include/xen/compiler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/include/xen/compiler.h b/xen/include/xen/compiler.h index 7d7ae2e5e4..dd99e57308 100644 --- a/xen/include/xen/compiler.h +++ b/xen/include/xen/compiler.h @@ -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) -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |