simics-api-sys bindings fail to compile with newer system clang (Ubuntu 26.04, Fedora 45)

Đang mở
#441 0 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/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ệ
rust
Lĩnh vực
build-system

Hướng nghiên cứu

Start with the simics-api-sys bindgen configuration and the CI logs linked in the issue; compare the Ubuntu 26.04 and Fedora 45 environments with the pinned toolchain. Check how clang and header include paths affect the generated bindings-auto.rs. Done means cargo doc and cargo build succeed on both newer systems and the docs runner can be unpinned.

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

Mô tả

Where

Problem
On ubuntu-26.04 and Fedora 45, cargo doc/cargo build fail with 380 E0080 errors in simics-api-sys's bindings-auto.rs, e.g. attempt to compute 1_usize - 216_usize at size_of::<_IO_FILE>() - 216usize. Same error with the pinned 1.90.0 toolchain, so the newer system clang/headers make bindgen emit opaque 1-byte types.

Impact
Blocks moving off Ubuntu 24.04 / Fedora 42. #399 pins the docs runner as a workaround.

Suggested fix
Fix bindgen configuration in simics-api-sys (likely clang/bindgen version or include paths), then unpin.

Related
#399, #397

Status
Confirmed from CI logs. Found by reading the code; not reproduced under SIMICS.

Ngôn ngữ chính
Rust
Star
335
Fork
26
Merge trung bình
1 ngày 50 phút
Pull request đã merge (30 ngày)
12

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 intel/tsffs

Tất cả issue của intel/tsffs

Issue tương tự

Thêm issue về Rust

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.