tc kselftest dependencies missing
Open
Nobody has claimed this yet.
gitlab issue
- Dominant language
- Python
- Stars
- 6
- Forks
- 6
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 3
Description
In GitLab by @broonie1 on May 16, 2022, 14:44 GMT+1:
The kselftest targets are missing tc:
make[3]: Entering directory '/build/stage/linux/tools/testing/selftests/tc-testing'
/bin/sh: 1: llc: not found
clang -I. -I/include/uapi -Wno-compare-distinct-pointer-types \
-O2 -target bpf -emit-llvm -c action.c -o - | \
llc -march=bpf -mcpu=probe -filetype=obj -o /tmp/build-work/kselftest/tc-testing/action.o
/bin/sh: 1: clang: not found
/bin/sh: 3: llc: not found
make[3]: *** [Makefile:27: /tmp/build-work/kselftest/tc-testing/action.o] Error 127
Migrated from GitLab: https://gitlab.com/Linaro/tuxmake/-/issues/180
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in tools/testing/selftests/tc-testing and inspect Makefile:27, where the tc kselftest build invokes clang and llc. Reproduce the failing target and trace how TuxMake declares or installs kselftest build dependencies; done means the target no longer fails because these tools are unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100