patched_libraries hits the default static TLS limit on Fedora

Đang mở
#718 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ệ
cpp, linux
Lĩnh vực
operating-systems, testing

Hướng nghiên cứu

Start with the game-free patched_libraries test from #705 and trace how it is built and run on Fedora. Reproduce the failure with the normal library directory, then compare it with the run using GLIBC_TUNABLES=glibc.rtld.optional_static_tls=262144. Done means the test loads all 413 patched libraries and exits successfully under the intended Fedora setup.

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

Mô tả

The game-free patched_libraries test from #705 failed on Fedora Linux 45 at unified AnyKyty commit 93e87416313851d2601d98a7d1948a158d196c1b. The loader reported libSceAgcDriver.prx: cannot allocate memory in static TLS block.

The built PRX declares STATIC_TLS and its ELF TLS segment needs 97,872 bytes. I reran the same test binary with its normal library directory. Stock glibc settings and a 32 KiB optional static TLS allocation both failed. Setting GLIBC_TUNABLES=glibc.rtld.optional_static_tls=262144 for that test process loaded all 413 patched libraries and returned zero.

Tested-on: Fedora Linux 45 Toolbox, glibc 2.44, GCC 16.2.1, Xeon E5-2670 v3
AI-assisted: yes
Assisted-by: gpt-6.2 sol xhigh

Ngôn ngữ chính
C++
Star
214
Fork
7
Merge trung bình
7 giờ 53 phút
Pull request đã merge (30 ngày)
280

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 simnJS/AnyPS5

Tất cả issue của simnJS/AnyPS5

Issue tương tự

Thêm issue về C++

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.