[BUG] Fail to build from source on Gentoo Linux
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 44/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- c, cmake, linux
- Bereich
- build-system
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C
- Sterne
- 25.4k
- Forks
- 947
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 21
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fastfetch-cli/fastfetch
-
[LOGO] VentoOSOffenlogo request
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
fastfetch-cli/fastfetch#2742 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] MacroMag OSEvtl. vergeben @maldyrek hat das vor 1 Tag übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
fastfetch-cli/fastfetch#2740 ·
Maintainer antworten meist innerhalb von 1 Tag
-
logo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
fastfetch-cli/fastfetch#2713 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] Visnux LinuxEvtl. vergeben @rafaelsoje hat das vor 19 Tagen übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
fastfetch-cli/fastfetch#2700 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] ZelixOSEvtl. vergeben @Hwi0228 hat das vor 24 Tagen übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
fastfetch-cli/fastfetch#2685 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fastfetch-cli/fastfetch
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue kernel
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
JackFurton/who-would-build-a-kernel-in-java#316 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
PE5PVB/TEF6686_ESP32#970 ·
-
bug sev-3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag