[BUG] Fail to build from source on Gentoo Linux
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 44/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- c, cmake, linux
- Domínio
- build-system
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C
- Estrelas
- 25.4k
- Forks
- 947
- Merge médio
- 1d 8h
- PRs com merge (30d)
- 21
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fastfetch-cli/fastfetch
-
[LOGO] VentoOSAbertalogo request
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 80/100
fastfetch-cli/fastfetch#2742 ·
Mantenedores costumam responder em até 1 dia
-
[LOGO] MacroMag OSTalvez já em andamento @maldyrek assumiu há 1 dia. Abertalogo request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
fastfetch-cli/fastfetch#2740 ·
Mantenedores costumam responder em até 1 dia
-
logo request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
fastfetch-cli/fastfetch#2713 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[LOGO] Visnux LinuxTalvez já em andamento @rafaelsoje assumiu há 19 dias. Abertalogo request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
fastfetch-cli/fastfetch#2700 ·
Mantenedores costumam responder em até 1 dia
-
[LOGO] ZelixOSTalvez já em andamento @Hwi0228 assumiu há 24 dias. Abertalogo request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fastfetch-cli/fastfetch#2685 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fastfetch-cli/fastfetch
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
trezor/trezor-firmware#8357 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
good first issue kernel
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
JackFurton/who-would-build-a-kernel-in-java#316 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
PE5PVB/TEF6686_ESP32#970 ·
-
bug sev-3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100