[BUG] Fail to build from source on Gentoo Linux
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 44/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, cmake, linux
- 领域
- build-system
调研方向
The report identifies the failure at the final C executable link stage during LTO on Gentoo's Itanium system, but names no project files or tests. Start by reading the CMake build configuration and locating how compiler and linker options are set; then reproduce the build on the reported platform if possible. Done means a source build completes successfully on that system.
由索引模型根据 Issue 内容生成。
描述
Read the FAQ first
- I have checked the FAQ but the issue is not covered
Description
This is most likely due to wrong options being handed to the final link stage.
As seen on Gentoo Linux :
[100%] Linking C executable fastfetch
/var/tmp/dclarke/ccgluLd5.s: Assembler messages:
/var/tmp/dclarke/ccgluLd5.s:9850: Error: No current frame
/var/tmp/dclarke/ccgluLd5.s:9852: Error: No current frame
/var/tmp/dclarke/ccgluLd5.s:9852: Error: No current frame
/var/tmp/dclarke/ccgluLd5.s:9858: Error: No current frame
/var/tmp/dclarke/ccgluLd5.s:9858: Warning: Use of 'mov' violates RAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 32
/var/tmp/dclarke/ccgluLd5.s:9858: Warning: Only the first path encountering the conflict is reported
/var/tmp/dclarke/ccgluLd5.s:9852: Warning: This is the location of the conflicting usage
/var/tmp/dclarke/ccgluLd5.s:9866: Error: No current frame
/var/tmp/dclarke/ccgluLd5.s:9871: Error: No current frame
/var/tmp/dclarke/ccgluLd5.s:9898: Error: No current frame
.
.
.
/var/tmp/dclarke/ccgluLd5.s:58152: Error: No current frame
/var/tmp/dclarke/ccgluLd5.s:58166: Error: No current frame
make[4]: *** [/var/tmp/dclarke/ccPlIrmN.mk:11: /var/tmp/dclarke/ccxgjCCy.ltrans3.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/lib/gcc/ia64-unknown-linux-gnu/13/../../../../ia64-unknown-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
gmake[3]: *** [CMakeFiles/fastfetch.dir/build.make:577: fastfetch] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:113: CMakeFiles/fastfetch.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:120: CMakeFiles/fastfetch.dir/rule] Error 2
gmake: *** [Makefile:203: fastfetch] Error 2
garak$
Seems likely given this is an Itanium server.
Version used
2.71.0
Bug prevalence
Always
Regression
Not sure
Installation
Built from source
Package manager
No response
Screenshots
I can most likely fix this with some adjustments to the compiler options however it seems a pile of stuff is wrapped up in cmake noise.
Configuration
System information
garak$ cat /etc/os-release
NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.15"
Features built-in
Does not apply.
- 主要语言
- C
- 星标
- 25.4k
- 派生
- 947
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 21
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fastfetch-cli/fastfetch 的其他 Issue
-
[LOGO] VentoOS未关闭logo request
难度 1/5 1 小时以内 新手友好度 80/100
fastfetch-cli/fastfetch#2742 ·
维护者通常 1 天内回复
-
[LOGO] MacroMag OS可能已有人在做 @maldyrek 于 1 天前认领。 未关闭logo request
难度 2/5 1-3 小时 新手友好度 76/100
fastfetch-cli/fastfetch#2740 ·
维护者通常 1 天内回复
-
logo request
难度 2/5 1-3 小时 新手友好度 67/100
fastfetch-cli/fastfetch#2713 · 1 条评论 ·
维护者通常 1 天内回复
-
[LOGO] Visnux Linux可能已有人在做 @rafaelsoje 于 19 天前认领。 未关闭logo request
难度 2/5 1-3 小时 新手友好度 74/100
fastfetch-cli/fastfetch#2700 ·
维护者通常 1 天内回复
-
[LOGO] ZelixOS可能已有人在做 @Hwi0228 于 24 天前认领。 未关闭logo request
难度 2/5 1-3 小时 新手友好度 72/100
fastfetch-cli/fastfetch#2685 · 1 条评论 ·
维护者通常 1 天内回复
查看 fastfetch-cli/fastfetch 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
good first issue kernel
难度 2/5 1-3 小时 新手友好度 76/100
JackFurton/who-would-build-a-kernel-in-java#316 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
PE5PVB/TEF6686_ESP32#970 ·
-
bug sev-3
难度 2/5 1-3 小时 新手友好度 62/100
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复