linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ messages in thread

* 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; 7+ 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] 7+ messages in thread

end of thread, other threads:[~2023-08-22  8:41 UTC | newest]

Thread overview: 7+ 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 --
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;
as well as URLs for NNTP newsgroup(s).