iovisor / iovisor/bcc

ARM platform is not supported properly

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

Description

Currently the targettriple is always set to x86 in the src/cc/bpf_module.c even when it is built on ARM platform.
int BPFModule::finalize() {
Module *mod = &*mod_;

mod->setDataLayout("e-m:e-p:64:64-i64:64-n32:64-S128");
mod->setTargetTriple("bpf-pc-linux");
......
}
So please add ARM platform support.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/cc/bpf_module.c at BPFModule::finalize(), where the data layout and target triple are set. Compare the current configuration with the ARM build context; the issue is complete when ARM builds use appropriate target settings without regressing x86 behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
compilers, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.