public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the efi tree
@ 2022-09-19  9:11 Stephen Rothwell
  2022-09-19  9:12 ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2022-09-19  9:11 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Hi all,

After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

x86_64-linux-gnu-ld: drivers/firmware/efi/libstub/x86-stub.stub.o:(.bss.efistub+0x8): multiple definition of `efi_system_table'; drivers/firmware/efi/libstub/systable.stub.o:(.bss.efistub+0x0): first defined here

Presumably caused by commit

  8fd3c9a90998 ("efi/libstub: move efi_system_table global var into separate object")

(or maybe commit

  ba2dd31b7588 ("efi/libstub: implement generic EFI zboot")
)

I have used the efi tree from next-20220916 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: build failure after merge of the efi tree
  2022-09-19  9:11 Stephen Rothwell
@ 2022-09-19  9:12 ` Ard Biesheuvel
  2022-09-19  9:25   ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Ard Biesheuvel @ 2022-09-19  9:12 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

On Mon, 19 Sept 2022 at 11:11, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> x86_64-linux-gnu-ld: drivers/firmware/efi/libstub/x86-stub.stub.o:(.bss.efistub+0x8): multiple definition of `efi_system_table'; drivers/firmware/efi/libstub/systable.stub.o:(.bss.efistub+0x0): first defined here
>
> Presumably caused by commit
>
>   8fd3c9a90998 ("efi/libstub: move efi_system_table global var into separate object")
>
> (or maybe commit
>
>   ba2dd31b7588 ("efi/libstub: implement generic EFI zboot")
> )
>
> I have used the efi tree from next-20220916 for today.
>

Thanks for the report. I'll take a look and fix this asap.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: build failure after merge of the efi tree
  2022-09-19  9:12 ` Ard Biesheuvel
@ 2022-09-19  9:25   ` Ard Biesheuvel
  0 siblings, 0 replies; 10+ messages in thread
From: Ard Biesheuvel @ 2022-09-19  9:25 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

On Mon, 19 Sept 2022 at 11:12, Ard Biesheuvel <ardb@kernel.org> wrote:
>
> On Mon, 19 Sept 2022 at 11:11, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Hi all,
> >
> > After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
> >
> > x86_64-linux-gnu-ld: drivers/firmware/efi/libstub/x86-stub.stub.o:(.bss.efistub+0x8): multiple definition of `efi_system_table'; drivers/firmware/efi/libstub/systable.stub.o:(.bss.efistub+0x0): first defined here
> >
> > Presumably caused by commit
> >
> >   8fd3c9a90998 ("efi/libstub: move efi_system_table global var into separate object")
> >
> > (or maybe commit
> >
> >   ba2dd31b7588 ("efi/libstub: implement generic EFI zboot")
> > )
> >
> > I have used the efi tree from next-20220916 for today.
> >
>
> Thanks for the report. I'll take a look and fix this asap.

Fixed now on efi/next so we should be ok for tomorrow.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* linux-next: build failure after merge of the efi tree
@ 2023-08-22  6:48 Stephen Rothwell
  2023-08-22  7:32 ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2023-08-22  6:48 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

Hi all,

After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from drivers/platform/x86/uv_sysfs.c:14:
arch/x86/include/asm/uv/bios.h:118:22: error: expected ')' before '*' token
  118 |         u64 (__efiapi *function)(enum uv_bios_cmd, ...);
      |                      ^~
      |                      )

Caused by commit

  73632c8c865f ("efi/runtime-wrappers: Remove duplicated macro for service returning void")

I havwe used the efi tree from next-20230821 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: build failure after merge of the efi tree
  2023-08-22  6:48 linux-next: build failure after merge of the efi tree Stephen Rothwell
@ 2023-08-22  7:32 ` Ard Biesheuvel
  2023-08-22  8:08   ` Stephen Rothwell
  0 siblings, 1 reply; 10+ messages in thread
From: Ard Biesheuvel @ 2023-08-22  7:32 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

Hello Stephen,

On Tue, 22 Aug 2023 at 08:49, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> In file included from drivers/platform/x86/uv_sysfs.c:14:
> arch/x86/include/asm/uv/bios.h:118:22: error: expected ')' before '*' token
>   118 |         u64 (__efiapi *function)(enum uv_bios_cmd, ...);
>       |                      ^~
>       |                      )
>
> Caused by commit
>
>   73632c8c865f ("efi/runtime-wrappers: Remove duplicated macro for service returning void")
>

Thanks for the report.

I cannot reproduce this with Debian's GCC 12.2.0 when building the
efi/next tree either in isolation, or merged into yesterday's next.

Could you please share the compiler version and the .config you used? Thanks.

-- 
Ard.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: build failure after merge of the efi tree
  2023-08-22  7:32 ` Ard Biesheuvel
@ 2023-08-22  8:08   ` Stephen Rothwell
  2023-08-22  8:41     ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2023-08-22  8:08 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1328 bytes --]

Hi Ard,

On Tue, 22 Aug 2023 09:32:31 +0200 Ard Biesheuvel <ardb@kernel.org> wrote:
>
> Hello Stephen,
> 
> On Tue, 22 Aug 2023 at 08:49, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Hi all,
> >
> > After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
> >
> > In file included from drivers/platform/x86/uv_sysfs.c:14:
> > arch/x86/include/asm/uv/bios.h:118:22: error: expected ')' before '*' token
> >   118 |         u64 (__efiapi *function)(enum uv_bios_cmd, ...);
> >       |                      ^~
> >       |                      )
> >
> > Caused by commit
> >
> >   73632c8c865f ("efi/runtime-wrappers: Remove duplicated macro for service returning void")
> >  
> 
> Thanks for the report.
> 
> I cannot reproduce this with Debian's GCC 12.2.0 when building the
> efi/next tree either in isolation, or merged into yesterday's next.
> 
> Could you please share the compiler version and the .config you used? Thanks.

$ x86_64-linux-gnu-gcc --version
x86_64-linux-gnu-gcc (Debian 12.3.0-4) 12.3.0
(this is Debian's cross compiler that is ppcle64 hosted)

and (see above) it is a x86_64 allmodconfig build.

Maybe there is some interaction with something else in today's
linux-next (just released).
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: build failure after merge of the efi tree
  2023-08-22  8:08   ` Stephen Rothwell
@ 2023-08-22  8:41     ` Ard Biesheuvel
  0 siblings, 0 replies; 10+ messages in thread
From: Ard Biesheuvel @ 2023-08-22  8:41 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

On Tue, 22 Aug 2023 at 10:08, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi Ard,
>
> On Tue, 22 Aug 2023 09:32:31 +0200 Ard Biesheuvel <ardb@kernel.org> wrote:
> >
> > Hello Stephen,
> >
> > On Tue, 22 Aug 2023 at 08:49, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > >
> > > Hi all,
> > >
> > > After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
> > > failed like this:
> > >
> > > In file included from drivers/platform/x86/uv_sysfs.c:14:
> > > arch/x86/include/asm/uv/bios.h:118:22: error: expected ')' before '*' token
> > >   118 |         u64 (__efiapi *function)(enum uv_bios_cmd, ...);
> > >       |                      ^~
> > >       |                      )
> > >
> > > Caused by commit
> > >
> > >   73632c8c865f ("efi/runtime-wrappers: Remove duplicated macro for service returning void")
> > >
> >
> > Thanks for the report.
> >
> > I cannot reproduce this with Debian's GCC 12.2.0 when building the
> > efi/next tree either in isolation, or merged into yesterday's next.
> >
> > Could you please share the compiler version and the .config you used? Thanks.
>
> $ x86_64-linux-gnu-gcc --version
> x86_64-linux-gnu-gcc (Debian 12.3.0-4) 12.3.0
> (this is Debian's cross compiler that is ppcle64 hosted)
>
> and (see above) it is a x86_64 allmodconfig build.
>
> Maybe there is some interaction with something else in today's
> linux-next (just released).

Thanks. I fixed it in the efi/next tree so things should build as
expected the next time around.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* linux-next: build failure after merge of the efi tree
@ 2025-07-09 10:21 Stephen Rothwell
  2025-07-09 10:23 ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2025-07-09 10:21 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: Gerd Hoffmann, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

Hi all,

After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: modpost: "efi_kobj" [drivers/firmware/efi/ovmf-debug-log.ko] undefined!

Caused by commit

  42c68c6e354f ("efi: add ovmf debug log driver")

I have used the efi tree from next-20250708 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: build failure after merge of the efi tree
  2025-07-09 10:21 Stephen Rothwell
@ 2025-07-09 10:23 ` Ard Biesheuvel
  0 siblings, 0 replies; 10+ messages in thread
From: Ard Biesheuvel @ 2025-07-09 10:23 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Gerd Hoffmann, Linux Kernel Mailing List, Linux Next Mailing List

On Wed, 9 Jul 2025 at 20:21, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> ERROR: modpost: "efi_kobj" [drivers/firmware/efi/ovmf-debug-log.ko] undefined!
>
> Caused by commit
>
>   42c68c6e354f ("efi: add ovmf debug log driver")
>
> I have used the efi tree from next-20250708 for today.
>


Thanks. I already dropped it from the EFI tree once I had received the
same report, and an updated version of the patch should be
forthcoming.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* linux-next: build failure after merge of the efi tree
@ 2026-03-10 19:06 Mark Brown
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Brown @ 2026-03-10 19:06 UTC (permalink / raw)
  To: Ard Biesheuvel, Marek Marczykowski-Górecki
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

Hi all,

After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

/tmp/next/build/drivers/firmware/efi/efi.c: In function 'efi_mem_type':
/tmp/next/build/drivers/firmware/efi/efi.c:1009:44: error: passing argument 2 of 'efi_mem_desc_lookup' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 1009 |         if (efi_mem_desc_lookup(phys_addr, &md))
      |                                            ^~~
In file included from /tmp/next/build/drivers/firmware/efi/efi.c:22:
/tmp/next/build/include/linux/efi.h:757:66: note: expected 'efi_memory_desc_t *' but argument is of type 'const efi_memory_desc_t *'
  757 | extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md);
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~

Caused by commit

  5992265762e66 (efi: make efi_mem_type() and efi_mem_attributes() work on Xen PV)

I have used the tree from 20260309 instead.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-10 19:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-22  6:48 linux-next: build failure after merge of the efi tree Stephen Rothwell
2023-08-22  7:32 ` Ard Biesheuvel
2023-08-22  8:08   ` Stephen Rothwell
2023-08-22  8:41     ` Ard Biesheuvel
  -- strict thread matches above, loose matches on Subject: below --
2026-03-10 19:06 Mark Brown
2025-07-09 10:21 Stephen Rothwell
2025-07-09 10:23 ` Ard Biesheuvel
2022-09-19  9:11 Stephen Rothwell
2022-09-19  9:12 ` Ard Biesheuvel
2022-09-19  9:25   ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox