Source: bpfcc
Version: 0.29.1+ds-1.1
Severity: wishlist
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the bpfcc failed for loong64 in the my local ENV.

I have added the build support for loongarch64 in the bpfcc source package. And built successfully on my local ENV.
Please consider the patch I attached.
If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang

diff --git a/debian/control b/debian/control
index 369784f..e76b349 100644
--- a/debian/control
+++ b/debian/control
@@ -39,7 +39,7 @@ Vcs-Browser: https://salsa.debian.org/debian/bpfcc
 Rules-Requires-Root: no
 
 Package: libbpfcc
-Architecture: amd64 arm64 ppc64 s390x armhf
+Architecture: amd64 arm64 loong64 ppc64 s390x armhf
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Multi-Arch: same
 Description: shared library for BPF Compiler Collection (BCC)
@@ -53,7 +53,7 @@ Description: shared library for BPF Compiler Collection (BCC)
  to control BPF programs from userspace.
 
 Package: libbpfcc-dev
-Architecture: amd64 arm64 ppc64 s390x armhf
+Architecture: amd64 arm64 loong64 ppc64 s390x armhf
 Section: libdevel
 Depends: ${misc:Depends},
  libbpfcc (= ${binary:Version})
@@ -98,7 +98,7 @@ Description: tools for BPF Compiler Collection (BCC)
  This package provides the command-line tools and examples
 
 Package: libbpf-tools
-Architecture: amd64 arm64
+Architecture: amd64 arm64 loong64
 Depends: ${misc:Depends},
  ${shlibs:Depends}
 Description: tools for BPF Compiler Collection based on libbpf (BTF and CO-RE)
@@ -115,7 +115,7 @@ Description: tools for BPF Compiler Collection based on libbpf (BTF and CO-RE)
  At this time this package contains subset of tools from bpfcc-tools
 
 Package: bpfcc-introspection
-Architecture: amd64 arm64 ppc64
+Architecture: amd64 arm64 loong64 ppc64
 Depends: ${misc:Depends},
  ${shlibs:Depends},
  libbpfcc (= ${binary:Version})

Reply via email to