All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/linux-tools: Disable libtracevent detection
@ 2023-07-22  3:23 Florian Fainelli
  2023-07-22 21:26 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Fainelli @ 2023-07-22  3:23 UTC (permalink / raw)
  To: buildroot
  Cc: Florian Fainelli, mmayer, marcin, d.lang, Thomas Petazzoni,
	Yann E. MORIN

Since upstream Linux commit 6898e60f709b0047206110d3ec9f4612210e3ff7
("perf build: If libtraceevent isn't present error the build") present
in Linux 6.4 and newer, Linux will fail to build if libtraceevent is not
present. Since we do not currently have support for libtracevent in
buildroot, pass NO_LIBTRACEVENT=1 to get perf to build again.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 package/linux-tools/linux-tool-perf.mk.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in
index 122c7cbbc42e..ee308a85dfd1 100644
--- a/package/linux-tools/linux-tool-perf.mk.in
+++ b/package/linux-tools/linux-tool-perf.mk.in
@@ -27,7 +27,8 @@ PERF_MAKE_FLAGS = \
 	NO_GTK2=1 \
 	NO_LIBPERL=1 \
 	NO_LIBPYTHON=1 \
-	NO_LIBBIONIC=1
+	NO_LIBBIONIC=1 \
+	NO_LIBTRACEEVENT=1
 
 # We need to pass an argument to ld for setting the emulation when
 # building for MIPS architecture, otherwise the default one will always
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/linux-tools: Disable libtracevent detection
  2023-07-22  3:23 [Buildroot] [PATCH] package/linux-tools: Disable libtracevent detection Florian Fainelli
@ 2023-07-22 21:26 ` Thomas Petazzoni via buildroot
  2023-08-29 19:58   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-22 21:26 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: d.lang, marcin, Yann E. MORIN, mmayer, buildroot

On Fri, 21 Jul 2023 20:23:32 -0700
Florian Fainelli <f.fainelli@gmail.com> wrote:

> Since upstream Linux commit 6898e60f709b0047206110d3ec9f4612210e3ff7
> ("perf build: If libtraceevent isn't present error the build") present
> in Linux 6.4 and newer, Linux will fail to build if libtraceevent is not
> present. Since we do not currently have support for libtracevent in
> buildroot, pass NO_LIBTRACEVENT=1 to get perf to build again.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>  package/linux-tools/linux-tool-perf.mk.in | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Thanks Florian for the patch, applied!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/linux-tools: Disable libtracevent detection
  2023-07-22 21:26 ` Thomas Petazzoni via buildroot
@ 2023-08-29 19:58   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-08-29 19:58 UTC (permalink / raw)
  To: Thomas Petazzoni via buildroot
  Cc: Florian Fainelli, Thomas Petazzoni, marcin, d.lang, mmayer,
	Yann E. MORIN

>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:

 > On Fri, 21 Jul 2023 20:23:32 -0700
 > Florian Fainelli <f.fainelli@gmail.com> wrote:

 >> Since upstream Linux commit 6898e60f709b0047206110d3ec9f4612210e3ff7
 >> ("perf build: If libtraceevent isn't present error the build") present
 >> in Linux 6.4 and newer, Linux will fail to build if libtraceevent is not
 >> present. Since we do not currently have support for libtracevent in
 >> buildroot, pass NO_LIBTRACEVENT=1 to get perf to build again.
 >> 
 >> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
 >> ---
 >> package/linux-tools/linux-tool-perf.mk.in | 3 ++-
 >> 1 file changed, 2 insertions(+), 1 deletion(-)

 > Thanks Florian for the patch, applied!

Committed to 2023.02.x and 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-08-29 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-22  3:23 [Buildroot] [PATCH] package/linux-tools: Disable libtracevent detection Florian Fainelli
2023-07-22 21:26 ` Thomas Petazzoni via buildroot
2023-08-29 19:58   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.