iovisor / iovisor/bcc

bcc fail to run on armhf

Open
#4,487 7 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

## My configuration

- Linux kernel version: 5.10
- Compilied bcc version: 0.25.0
- LLVM version: 11.0-51+nmu5

## Problem

I tried to execute my bpf program with bcc on armhf, and I had getting many errors about SMP and registers. Like in #1202 issue, first error was "error: register 'sp' unsuitable for global register variables on this target". Full log in attached file.

[log.txt](https://github.com/iovisor/bcc/files/10765769/log.txt)

## Inspection in bcc

Looks like that the following files doesn't contain information about working with the armhf architecture:
- [arch_helper.h](https://github.com/iovisor/bcc/tree/master/src/cc/frontends/clang/arch_helper.h)
- [b_frontend_action.cc](https://github.com/iovisor/bcc/blob/master/src/cc/frontends/clang/b_frontend_action.cc)
- [bcc_proc.c](https://github.com/iovisor/bcc/blob/master/src/cc/bcc_proc.c)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.