2020-06-11 03:04:08

by Souptick Joarder

[permalink] [raw]
Subject: Compile error: linux-next-20200610

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


Attachments:
config (122.55 kB)

2020-06-11 03:08:58

by Randy Dunlap

[permalink] [raw]
Subject: Re: Compile error: linux-next-20200610

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/[email protected]/


thanks.
--
~Randy
Reported-by: Randy Dunlap <[email protected]>