[BUG] Fail to build from source on Gentoo Linux
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 44/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- c, cmake, linux
- Domaine
- build-system
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C
- Étoiles
- 25.4k
- Forks
- 947
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 21
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fastfetch-cli/fastfetch
-
[LOGO] VentoOSOuvertelogo request
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
fastfetch-cli/fastfetch#2742 ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] MacroMag OSPeut-être pris @maldyrek l’a pris il y a 1 jour. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
fastfetch-cli/fastfetch#2740 ·
Les mainteneurs répondent en général sous 1 jour
-
logo request
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
fastfetch-cli/fastfetch#2713 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] Visnux LinuxPeut-être pris @rafaelsoje l’a pris il y a 19 jours. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
fastfetch-cli/fastfetch#2700 ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] ZelixOSPeut-être pris @Hwi0228 l’a pris il y a 24 jours. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
fastfetch-cli/fastfetch#2685 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fastfetch-cli/fastfetch
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
trezor/trezor-firmware#8357 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
good first issue kernel
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
JackFurton/who-would-build-a-kernel-in-java#316 ·
Les mainteneurs répondent en général sous 1 jour
-
Bandwidth selector rotary direction is inconsistent with the regular menu on portable modelsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
PE5PVB/TEF6686_ESP32#970 ·
-
bug sev-3
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100