iovisor / iovisor/bcc

Build failure on ARM64 with Debian Jessie

Open
#1,507 1 comment 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

Hi there,

I searched there have two similar tickets (https://github.com/iovisor/bcc/issues/1434 and https://github.com/iovisor/bcc/issues/1375) for building failure, but they are not exactly same with behavior I observed the build failure.

The kernel is the latest mainline Linux kernel (4.15-rc5) and the debian is for ARM64 releasing, GCC is 4.9.2.

Please note, I install all dependency libs with "apt-get" command but it misses luajit, so I manually download the code and build/install it from: http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz, this beta version has supported ARM64 yet.

I use below command to build bcc:

```
root@linaro-developer:~/bcc/build# cmake .. -DCMAKE_INSTALL_PREFIX=/usr
root@linaro-developer:~/bcc/build# make
```

So it always to wait for compiling the file src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o, the detailed log as below:

```
root@linaro-developer:~/bcc/build# cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- Latest recognized Git tag is v0.5.0
-- Git HEAD is 46994dd75e82f5d785af8a6ebd92f0e859526668
-- Revision is 0.5.0-46994dd7
-- Found LLVM: /usr/lib/llvm-3.7/include 3.7.0
-- Using static-libstdc++
-- Configuring done
-- Generating done
-- Build files have been written to: /root/bcc/build
root@linaro-developer:~/bcc/build# make
[ 8%] Built target bcc-loader-static
[ 9%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o
```

There have no any RCU stall or kernel panic, so this should not the same issue with https://github.com/iovisor/bcc/issues/1375.

Could you give suggestion so I can move forward for enabling bcc, thanks in advance.

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.