Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tlinux24 docker批量编译部分ko编译失败 #561

Open
moashenbak opened this issue Dec 8, 2023 · 3 comments
Open

tlinux24 docker批量编译部分ko编译失败 #561

moashenbak opened this issue Dec 8, 2023 · 3 comments

Comments

@moashenbak
Copy link

Describe the bug
Dockerfile.tlinux24在执行批量ko bash ./build_script/x86_64/batch_compile_tencentos.sh 时,多个ko编译失败。

Screenshots
进入docker,手动编译,查看错误如下。

image
image

OS information (please complete the following information):

  • Distribution: [tlinux24]
  • Kernel info [5.4.119-19-0009.11/5.4.87-19-0004/5.4.32-19-0003等]
@shenping-bd
Copy link
Collaborator

gcc版本问题,建议安装并使用内核编译时的gcc版本,可通过cat /proc/version查看

@moashenbak
Copy link
Author

gcc版本问题,建议安装并使用内核编译时的gcc版本,可通过cat /proc/version查看

img_v3_025u_ea4e5382-1f5f-4b8d-a75c-a8d0f93ef3eh
目前使用的tencentos/tencentos_server24:latest镜像

@kulukami
Copy link
Collaborator

gcc版本问题,建议安装并使用内核编译时的gcc版本,可通过cat /proc/version查看

img_v3_025u_ea4e5382-1f5f-4b8d-a75c-a8d0f93ef3eh 目前使用的tencentos/tencentos_server24:latest镜像

有了 /proc/version ,检查下 编译使用 的 gcc -v 是否与其 一致呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants