Linux kernel -stable discussions
 help / color / mirror / Atom feed
* perf build failure in v6.1.53-221-g5e5c3289d389
@ 2023-09-17 14:48 Guenter Roeck
  2023-09-17 16:33 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2023-09-17 14:48 UTC (permalink / raw)
  To: stable; +Cc: Greg Kroah-Hartman

make tools/perf fails with

gcc: fatal error: no input files

Bisect points to 'perf build: Update build rule for generated files'
which adds

+
+# pmu-events.c file is generated in the OUTPUT directory so it needs a
+# separate rule to depend on it properly
+$(OUTPUT)pmu-events/pmu-events.o: $(PMU_EVENTS_C)
+       $(call rule_mkdir)
+       $(call if_changed_dep,cc_o_c)

but there is no PMU_EVENTS_C in v6.1.y.

Guenter

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

* Re: perf build failure in v6.1.53-221-g5e5c3289d389
  2023-09-17 14:48 perf build failure in v6.1.53-221-g5e5c3289d389 Guenter Roeck
@ 2023-09-17 16:33 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2023-09-17 16:33 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: stable

On Sun, Sep 17, 2023 at 07:48:43AM -0700, Guenter Roeck wrote:
> make tools/perf fails with
> 
> gcc: fatal error: no input files
> 
> Bisect points to 'perf build: Update build rule for generated files'
> which adds
> 
> +
> +# pmu-events.c file is generated in the OUTPUT directory so it needs a
> +# separate rule to depend on it properly
> +$(OUTPUT)pmu-events/pmu-events.o: $(PMU_EVENTS_C)
> +       $(call rule_mkdir)
> +       $(call if_changed_dep,cc_o_c)
> 
> but there is no PMU_EVENTS_C in v6.1.y.

Then the Fixes: tag lied :(

I'll go drop this patch now, thanks.

greg k-h

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

end of thread, other threads:[~2023-09-17 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-17 14:48 perf build failure in v6.1.53-221-g5e5c3289d389 Guenter Roeck
2023-09-17 16:33 ` Greg Kroah-Hartman

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