Re: Compile error: linux-next-20200610

From: Randy Dunlap
Date: Wed Jun 10 2020 - 23:04:12 EST


On 6/10/20 8:07 PM, Souptick Joarder wrote:
> Hi Stephen,
>
> While compiling linux-next-20200610, I hit below compile error.
> .config file is attached.
>
> Steps ->
>
> 1. Download the tar
> 2. make defconfig
> 3. make -j4
>
> In file included from drivers/firmware/efi/libstub/efi-stub-helper.c:16:0:
> drivers/firmware/efi/libstub/efi-stub-helper.c: In function âefi_char16_putsâ:
> ./arch/x86/include/asm/efi.h:355:3: sorry, unimplemented: ms_abi
> attribute requires -maccumulate-outgoing-args or subtarget
> optimization implying it
> : __efi64_thunk_map(inst, func, inst, ##__VA_ARGS__))
> ^
> drivers/firmware/efi/libstub/efi-stub-helper.c:37:2: note: in
> expansion of macro âefi_call_protoâ
> efi_call_proto(efi_table_attr(efi_system_table, con_out),
> ^
> drivers/firmware/efi/libstub/efi-stub-helper.c:37: confused by earlier
> errors, bailing out
> Preprocessed source stored into /tmp/ccZ7rSjc.out file, please attach
> this to your bugreport.
> make[5]: *** [drivers/firmware/efi/libstub/efi-stub-helper.o] Error 1
> make[4]: *** [drivers/firmware/efi/libstub] Error 2
> make[3]: *** [drivers/firmware/efi] Error 2
> make[2]: *** [drivers/firmware] Error 2
> make[1]: *** [drivers] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make: *** [__sub-make] Error 2
>
> -Souptick
>

Patch is here:
https://lore.kernel.org/bpf/20200605150638.1011637-1-nivedita@xxxxxxxxxxxx/


thanks.
--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>