linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the seccomp tree
@ 2023-06-29  2:40 Stephen Rothwell
  2023-06-29  5:27 ` Andrei Vagin
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2023-06-29  2:40 UTC (permalink / raw)
  To: Kees Cook
  Cc: Andrei Vagin, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the seccomp tree, today's linux-next build (native perf)
failed like this:

make[3]: *** No rule to make target '/home/sfr/next/perf/bench/sched-seccomp-notify.o', needed by '/home/sfr/next/perf/bench/perf-in.o'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/home/sfr/next/next/tools/build/Makefile.build:140: bench] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.perf:682: /home/sfr/next/perf/perf-in.o] Error 2
make: *** [Makefile.perf:242: sub-make] Error 2
Command exited with non-zero status 2

Presumably caused by commit

  df614e369b5c ("perf/benchmark: add a new benchmark for seccom_unotify")

This is a native build of perf on a PowerPC 46 bit LE host.

I have used the seccomp tree from next-20230628 for today.

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build failure after merge of the seccomp tree
  2023-06-29  2:40 linux-next: build failure after merge of the seccomp tree Stephen Rothwell
@ 2023-06-29  5:27 ` Andrei Vagin
  2023-06-29  5:30   ` Kees Cook
  2023-06-29  5:58   ` Kees Cook
  0 siblings, 2 replies; 5+ messages in thread
From: Andrei Vagin @ 2023-06-29  5:27 UTC (permalink / raw)
  To: Kees Cook
  Cc: Andrei Vagin, Linux Kernel Mailing List, Linux Next Mailing List,
	Stephen Rothwell

On Wed, Jun 28, 2023 at 7:50 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the seccomp tree, today's linux-next build (native perf)
> failed like this:
>
> make[3]: *** No rule to make target '/home/sfr/next/perf/bench/sched-seccomp-notify.o', needed by '/home/sfr/next/perf/bench/perf-in.o'.  Stop.
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [/home/sfr/next/next/tools/build/Makefile.build:140: bench] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [Makefile.perf:682: /home/sfr/next/perf/perf-in.o] Error 2
> make: *** [Makefile.perf:242: sub-make] Error 2
> Command exited with non-zero status 2
>
> Presumably caused by commit
>
>   df614e369b5c ("perf/benchmark: add a new benchmark for seccom_unotify")

tools/perf/bench/sched-seccomp-notify.c should be in this commit too.
Probably something went wrong when the patch was applied. I've checked
that the patch contains this file:

https://patchew.org/linux/20230308073201.3102738-1-avagin@google.com/20230308073201.3102738-7-avagin@google.com/

Kees, could you take a look at this?

>
> This is a native build of perf on a PowerPC 46 bit LE host.
>
> I have used the seccomp tree from next-20230628 for today.
>
> --
> Cheers,
> Stephen Rothwell

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

* Re: linux-next: build failure after merge of the seccomp tree
  2023-06-29  5:27 ` Andrei Vagin
@ 2023-06-29  5:30   ` Kees Cook
  2023-06-29  5:58   ` Kees Cook
  1 sibling, 0 replies; 5+ messages in thread
From: Kees Cook @ 2023-06-29  5:30 UTC (permalink / raw)
  To: Andrei Vagin
  Cc: Andrei Vagin, Linux Kernel Mailing List, Linux Next Mailing List,
	Stephen Rothwell

On Wed, Jun 28, 2023 at 10:27:09PM -0700, Andrei Vagin wrote:
> On Wed, Jun 28, 2023 at 7:50 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Hi all,
> >
> > After merging the seccomp tree, today's linux-next build (native perf)
> > failed like this:
> >
> > make[3]: *** No rule to make target '/home/sfr/next/perf/bench/sched-seccomp-notify.o', needed by '/home/sfr/next/perf/bench/perf-in.o'.  Stop.
> > make[3]: *** Waiting for unfinished jobs....
> > make[2]: *** [/home/sfr/next/next/tools/build/Makefile.build:140: bench] Error 2
> > make[2]: *** Waiting for unfinished jobs....
> > make[1]: *** [Makefile.perf:682: /home/sfr/next/perf/perf-in.o] Error 2
> > make: *** [Makefile.perf:242: sub-make] Error 2
> > Command exited with non-zero status 2
> >
> > Presumably caused by commit
> >
> >   df614e369b5c ("perf/benchmark: add a new benchmark for seccom_unotify")
> 
> tools/perf/bench/sched-seccomp-notify.c should be in this commit too.
> Probably something went wrong when the patch was applied. I've checked
> that the patch contains this file:
> 
> https://patchew.org/linux/20230308073201.3102738-1-avagin@google.com/20230308073201.3102738-7-avagin@google.com/
> 
> Kees, could you take a look at this?

Yeah, I had to fix the merge and it looks like I missed the needed "git
add", yet it compiled for me locally. Ugh. I will get this fixed.

-- 
Kees Cook

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

* Re: linux-next: build failure after merge of the seccomp tree
  2023-06-29  5:27 ` Andrei Vagin
  2023-06-29  5:30   ` Kees Cook
@ 2023-06-29  5:58   ` Kees Cook
  2023-06-30  5:22     ` Andrei Vagin
  1 sibling, 1 reply; 5+ messages in thread
From: Kees Cook @ 2023-06-29  5:58 UTC (permalink / raw)
  To: Andrei Vagin
  Cc: Andrei Vagin, Linux Kernel Mailing List, Linux Next Mailing List,
	Stephen Rothwell

On Wed, Jun 28, 2023 at 10:27:09PM -0700, Andrei Vagin wrote:
> Probably something went wrong when the patch was applied. I've checked
> that the patch contains this file:
> 
> https://patchew.org/linux/20230308073201.3102738-1-avagin@google.com/20230308073201.3102738-7-avagin@google.com/
> 
> Kees, could you take a look at this?

Hmm, it seems something else went wrong too, due to:
616b14b47a86 ("perf build: Conditionally define NDEBUG")

I've added "#undef NDEBUG" to the file too.

-- 
Kees Cook

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

* Re: linux-next: build failure after merge of the seccomp tree
  2023-06-29  5:58   ` Kees Cook
@ 2023-06-30  5:22     ` Andrei Vagin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrei Vagin @ 2023-06-30  5:22 UTC (permalink / raw)
  To: Kees Cook
  Cc: Andrei Vagin, Linux Kernel Mailing List, Linux Next Mailing List,
	Stephen Rothwell

On Wed, Jun 28, 2023 at 10:58 PM Kees Cook <keescook@chromium.org> wrote:
>
> On Wed, Jun 28, 2023 at 10:27:09PM -0700, Andrei Vagin wrote:
> > Probably something went wrong when the patch was applied. I've checked
> > that the patch contains this file:
> >
> > https://patchew.org/linux/20230308073201.3102738-1-avagin@google.com/20230308073201.3102738-7-avagin@google.com/
> >
> > Kees, could you take a look at this?
>
> Hmm, it seems something else went wrong too, due to:
> 616b14b47a86 ("perf build: Conditionally define NDEBUG")
>
> I've added "#undef NDEBUG" to the file too.

I have sent the patch to address this problem:
https://lore.kernel.org/lkml/20230630051953.454638-1-avagin@gmail.com/T/#u

Thanks,
Andrei

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

end of thread, other threads:[~2023-06-30  5:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-29  2:40 linux-next: build failure after merge of the seccomp tree Stephen Rothwell
2023-06-29  5:27 ` Andrei Vagin
2023-06-29  5:30   ` Kees Cook
2023-06-29  5:58   ` Kees Cook
2023-06-30  5:22     ` Andrei Vagin

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).