[BUG] Fail to build from source on Gentoo Linux

オープン
#2,727 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

bug can't reproduce
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時間
マージ済み PR(30日)
21

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fastfetch-cli/fastfetch のほかの issue

fastfetch-cli/fastfetch の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。