iovisor / iovisor/bcc

Error while compiling [11%] Scanning dependencies of target clang_frontend on armbian

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

Description

Good evening,

I'm facing some difficulties in compiling both masters and v0.25.0 tagged branches on my Raspberry PI 3 Model B running armbian 5.15.73-v8+.

I've installed every needed package thru apt as specified inside install.md, and manually installed llvm-14 using their script on their page.
While cmake .. command correctly generates Build files, make get stuck at:
```
Scanning dependencies of target clang_frontend
[ 11%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o
```

In attachment, you can find logs for "make -n" run.

Changed multiple versions of clang, reinstalled llvm, headers are present and kernel is build on my own with correct flags specified

[make-n.log](https://github.com/iovisor/bcc/files/10078259/make-n.log)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with install.md and the CMake build on the Raspberry Pi 3 running Armbian, then reproduce the stall at src/cc/frontends/clang/loader.cc during make. Review the attached make-n.log and compare compilation of the master and v0.25.0 branches. Done means identifying why the build stops at 11% and confirming a successful build or a documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, linux, raspberry-pi
Domain
build-system, embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.