gawk-5.4.1 without linking to mpfr fails to build gcc 16.2.0

Offen
#63,244 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
shell

Rechercherichtung

Start with the upstream gawk report and the linked workaround commit, then inspect the gawk package recipe in void-packages to see how it is built and whether it links to mpfr. Reproduce by compiling the newest GCC as described; done when the package builds with the required mpfr support and GCC compiles without the reported option errors.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug needs-testing
Is this a new report?

Yes

System Info

Void 6.18.56_1 x86_64 GenuineIntel uptodate r

Package(s) Affected

gcc-16.2.0

Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://lists.gnu.org/archive/html/bug-gawk/2026-07/msg00020.html

Expected behaviour

While trying to build gcc 16.2.0 I get many errors like:

27216 #error 0Wabsolute-value does not have a Var() flag
options.cc:27292:2: error: #error 0Wexpansion-to-defined does not have a Var() flag
and similar. See the link to upstream list.

gawk should be linked to mpfr to be usable. Workaround:

https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=bf85f8a3175af703597082d4c7e0abc2066a44d3

Actual behaviour

gawk should be able to build new gcc.

Steps to reproduce

Compile newest gcc.

Vorherrschende Sprache
Shell
Sterne
3.5k
Forks
2.8k
Ø Merge
1 T. 21 Std.
Gemergte PRs (30 T.)
302

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus void-linux/void-packages

Alle Issues in void-linux/void-packages

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.