Skip to contentSkip to conversation

package/libbpf: needs __sync_*_4 intrisics

PATCH Applied Fabrice Fontaine 2 participants 2 messages Apr 12, 2022 – Apr 21, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libbpf: needs __sync_*_4 intrisics

libbpf needs __sync_*_4 intrisics since bump to version 0.7.0 in commit 4b1003855b02f6d9c77de634c9d0f636470e7388 and
https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97

Fixes:
- No autobuilder failures (yet)

---
 package/libbpf/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/libbpf/Config.in +2 -0
index 3aa6679b3a..b3d6e44c6a 100644
@@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS
 config BR2_PACKAGE_LIBBPF
 	bool "libbpf"
 	depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on BR2_USE_WCHAR # elfutils
 	depends on !BR2_STATIC_LIBS # elfutils
 	depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
@@ -27,6 +28,7 @@ config BR2_PACKAGE_LIBBPF
 
 comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13"
 	depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
 		|| !BR2_TOOLCHAIN_HAS_THREADS \
 		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · Fabrice Fontaine

libbpf needs __sync_*_4 intrisics since bump to version 0.7.0 in commit 4b1003855b02f6d9c77de634c9d0f636470e7388 and
https://github.com/libbpf/libbpf/commit/b0c3d7133faa55fbcbc19f76f9cc9e183e178c97

Fixes:
- No autobuilder failures (yet)

Applied to master, thanks.

Regards,
Arnout

Quoted 17 lines
---
  package/libbpf/Config.in | 2 ++
  1 file changed, 2 insertions(+)
package/libbpf/Config.in +1 -0
index 3aa6679b3a..b3d6e44c6a 100644
@@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS
  config BR2_PACKAGE_LIBBPF
  	bool "libbpf"
  	depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
  	depends on BR2_USE_WCHAR # elfutils
  	depends on !BR2_STATIC_LIBS # elfutils
  	depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils

package/libbpf/Config.in config BR2_PACKAGE_LIBBPF · line 34

Quoted 7 lines
package/libbpf/Config.in +1 -0
@@ -27,6 +28,7 @@ config BR2_PACKAGE_LIBBPF
 
  comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13"
  	depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
  	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
  		|| !BR2_TOOLCHAIN_HAS_THREADS \
  		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot