[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/riscv: Fix build with GCC 10
On Wed, 15 Mar 2023 at 11:52, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote: riscv64-linux-gnu-gcc -MMD -MP -MF arch/riscv/.early_printk.o.d -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O1 -fno-omit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ -include ./include/xen/config.h -Wa,--strip-local-absolute -g -mabi=lp64 -I./include -I./arch/riscv/include -march=rv64gc -mstrict-align -mcmodel=medany -c arch/riscv/early_printk.c -o arch/riscv/early_printk.o I appreciate you dislike this check. But I think the fact it gets triggered proved its effectiveness rather than the other way around. From a brief look online, the define is meant to be present with medany. So I think some digging would be worth here as this may indicate another latent issue either on the command line or the compiler. (I would like to point out that Linux has the exact same check. So why would it work there but not in Xen?) Cheers,
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |