Bug 59 - [anck-5.10]dwarves包版本低导致编译失败
Summary: [anck-5.10]dwarves包版本低导致编译失败
Status: CONFIRMED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunqi-zwt
QA Contact: 云霭
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-09 15:26 UTC by 云霭
Modified: 2022-03-23 12:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 云霭 2021-12-09 15:26:52 UTC
[缺陷描述]:

使用gitee上的打包工具对anck-5.10内核代码进行打包时,由于dwarves版本过低导致编译失败

编译环境:

[root@iZ2ze4nqr3go57kr8oq1gnZ ~]# cat /proc/version
Linux version 4.19.91-24.8.an8.aarch64 (mockbuild@localhost.localdomain) (gcc version 8.3.1 20191121 (Anolis 8.3.1-5.0.1) (GCC)) #1 SMP Tue Aug 31 11:52:43 CST 2021

[重现步骤]:

1.分别拉取kernel和builder的代码

git clone -b an8-5.10 https://gitee.com/src-anolis-plus/ck-build.git

cd ck-build

git clone -b devel-5.10 https://gitee.com/anolis/cloud-kernel.git

2.运行编译脚本

+ sh build.sh

++ pahole --version

+ echo 'BTF: .tmp_vmlinux.btf: pahole version v1.15 is too old, need at least v1.16'

BTF: .tmp_vmlinux.btf: pahole version v1.15 is too old, need at least v1.16

+ return 1

+ echo 'Failed to generate BTF for vmlinux'

Failed to generate BTF for vmlinux




[期望结果]:

自动安装正确版本的依赖包

[实际结果]:

没有自动安装正确版本的依赖包

[原因定位]:
Comment 1 Shiloong admin 2021-12-31 14:27:22 UTC
这个请@joe 帮忙看看, Anolis OS base OS 是否可以升级一下 dwarve 这个包. BTF 特性需要高版本.