Skip to contentSkip to conversation

[4.17] Arm32: prune (again) ld warning about mismatched wchar_t sizes

PATCH In review Jan Beulich 3 participants 3 messages Oct 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [4.17] Arm32: prune (again) ld warning about mismatched wchar_t sizes

The name change (stub.c -> common-stub.c) rendered the earlier workaround (commit a4d4c541f58b ["xen/arm32: avoid EFI stub wchar_t size linker warning"]) ineffectual.

Fixes bfd3e9945d1b ("build: fix x86 out-of-tree build without EFI")
xen/arch/arm/efi/Makefile +1 -1
@@ -6,6 +6,6 @@ obj-$(CONFIG_ACPI) +=  efi-dom0.init.o
 else
 obj-y += common-stub.o
 
-$(obj)/stub.o: CFLAGS-y += -fno-short-wchar
+$(obj)/common-stub.o: CFLAGS-y += -fno-short-wchar
 
 endif
Acked-by on v1 1/1
#1 lore raw

Hi Jan,

Quoted 3 lines · Jan Beulich

The name change (stub.c -> common-stub.c) rendered the earlier workaround (commit a4d4c541f58b ["xen/arm32: avoid EFI stub wchar_t size linker warning"]) ineffectual.

Ah! I noticed this warning over the week-end and was wondering why it was still there...

Quoted 3 lines
Fixes bfd3e9945d1b ("build: fix x86 out-of-tree build without EFI")

Cheers,

Signature · 1 line
Julien Grall
#2 lore raw
In reply to Jan Beulich

Hi Jan,

Quoted 11 lines

-----Original Message-----
From: Jan Beulich <[email protected]>
Subject: [PATCH][4.17] Arm32: prune (again) ld warning about mismatched wchar_t sizes

The name change (stub.c -> common-stub.c) rendered the earlier workaround (commit a4d4c541f58b ["xen/arm32: avoid EFI stub wchar_t size linker warning"]) ineffectual.

Fixes bfd3e9945d1b ("build: fix x86 out-of-tree build without EFI")

Kind regards,
Henry