patched_libraries hits the default static TLS limit on Fedora

オープン
#718 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, linux

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C++
スター
214
フォーク
7
平均マージ
7時間 53分
マージ済み PR(30日)
280

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

simnJS/AnyPS5 のほかの issue

simnJS/AnyPS5 の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。