Skip to contentSkip to conversation

package/linux-tools: Disable libtracevent detection

PATCH In review Florian Fainelli 3 participants 3 messages Jul 22, 2023 – Aug 29, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linux-tools: Disable libtracevent detection

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.

---
 package/linux-tools/linux-tool-perf.mk.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/linux-tools/linux-tool-perf.mk.in +2 -1
index 122c7cbbc42e..ee308a85dfd1 100644
@@ -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
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · On Fri, 21 Jul 2023 20:23:32 -0700 Florian Fainelli <[email protected]>…

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.

---
 package/linux-tools/linux-tool-perf.mk.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Thanks Florian for the patch, applied!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

Quoted 6 lines · On Fri, 21 Jul 2023 20:23:32 -0700 Florian Fainelli <[email protected]>…

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.

Quoted 6 lines
Quoted 4 lines

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

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot