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

Đang mở
#63,244 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
build-system, tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Shell
Star
3.5k
Fork
2.8k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
312

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của void-linux/void-packages

Tất cả issue của void-linux/void-packages

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.