Re: v5.8 EFI firmware driver does not compile on EL7.8-based systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 13 Jun 2020 at 18:04, Chuck Lever <chuck.lever@xxxxxxxxxx> wrote:
>
> Hi-
>
> I pulled the top of Linus's repo this morning. Reporting this in case
> you are not already aware, and to ask: Is there a new minimum gcc
> version requirement for building the v5.8 kernel? v5.7 builds fine.
> If you need me to, I can bisect.
>
> [cel@manet linux]$ rebuild
> Building with 13 threads
> In file included from /home/cel/src/linux/linux/drivers/firmware/efi/libstub/efi-stub-helper.c:19:0:
> /home/cel/src/linux/linux/drivers/firmware/efi/libstub/efi-stub-helper.c: In function ‘efi_char16_puts’:
> /home/cel/src/linux/linux/drivers/firmware/efi/libstub/efistub.h:52:51: sorry, unimplemented: ms_abi attribute requires -maccumulate-outgoing-args or subtarget optimization implying it
>  #define efi_call_proto(inst, func, ...) inst->func(inst, ##__VA_ARGS__)
>                                                    ^
> /home/cel/src/linux/linux/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),
>   ^
> /home/cel/src/linux/linux/drivers/firmware/efi/libstub/efi-stub-helper.c:37: confused by earlier errors, bailing out
> Preprocessed source stored into /tmp/ccWY8q9X.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[2]: *** Waiting for unfinished jobs....
> make[1]: *** [drivers] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make: *** [__sub-make] Error 2
> 3132.08user 498.43system 5:08.21elapsed 1177%CPU (0avgtext+0avgdata 451516maxresident)k
> 3488inputs+6959272outputs (7major+90023497minor)pagefaults 0swaps
> [cel@manet linux]$ cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 7.8 (Maipo)
> [cel@manet linux]$  gcc --version
> gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39.0.3)
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> [cel@manet ~]$
>

Hey Chuck,

A fix for this issue has been sent to the list already. It should be
going into mainline somewhere during the week.

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux