Clang is required in GCC docker build images by BPF programs while building kselftests
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, linux
调研方向
从 tools/testing/selftests/net 和报告的 bpf.mk:42 规则开始,然后检查 GCC Docker build images 使用的 kselftests Makefiles。使用给出的 make 命令重现该失败。完成的标准是 GCC-only image 能够构建相关的 kselftests,而不需要 clang,也不产生 clang-not-found 失败。
由索引模型根据 Issue 内容生成。
描述
BPF has a separate suite in kselftests. Often BPF tests are present in other suites like in net. BPF programs are built with clang by default. Out GCC docker build images don't have clang for obvious reasons. This can cause failures and pollute the kselftests build results.
kernelci@b99ec1587430:~/tools/testing/selftests/net$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j `nproc`
/bin/sh: 1: clang: not found
BPF_PROG nat6to4.bpf.o
make: clang: No such file or directory
make: *** [bpf.mk:42: /home/kernelci/tools/testing/selftests/net/nat6to4.bpf.o] Error 127
Possibly this should be fixed in kselftests Makefiles. When compiler is the GCC, it should ignore build of BPF programs.
- 主要语言
- Python
- 星标
- 14
- 派生
- 32
- 平均合并
- 10 小时 18 分钟
- 30 天内合并 PR
- 5
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
kernelci/kernelci-project 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 20/100
kernelci/kernelci-project#585 ·
-
question sysadmin
难度 5/5 一周以上 新手友好度 35/100
kernelci/kernelci-project#580 ·
-
难度 5/5 一周以上 新手友好度 30/100
kernelci/kernelci-project#579 ·
-
Make sure kunit tests working properly, especially crypto可能重新可做 @nuclearcat 于 172 天前认领,目前没有进行中的 PR。 未关闭
kernelci/kernelci-project#568 · 已指派 1 人 ·
-
Proposal for weekly conference calls (and probably others)可能重新可做 @nuclearcat 于 255 天前认领,目前没有进行中的 PR。 未关闭
kernelci/kernelci-project#562 · 10 条评论 · 已指派 1 人 ·
查看 kernelci/kernelci-project 的全部 Issue
相似的 Issue
-
first
难度 2/5 1-3 小时 新手友好度 72/100
AcademySoftwareFoundation/rmtc#54 · 1 条评论 ·
-
feature/cohorts feature/feature-flags team/feature-flags
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
License examples/ as MIT可能已有人在做 @PGrayCS 今天认领。 未关闭documentation enhancement example good first issue
难度 2/5 1-3 小时 新手友好度 84/100
speedyk-005/yasbd-lib#383 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
interactions-py/interactions.py#1827 ·
-
Managed start can fail when OpenVMM reads its control capability before NVX writes it可能已有人在做 @ppenna 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复