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

Abierto
#63,244 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
shell

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Shell
Estrellas
3.5k
Forks
2.8k
Merge medio
1 d 22 h
PR fusionados (30 d)
312

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de void-linux/void-packages

Todos los issues de void-linux/void-packages

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.