fix(libkernel): export sceCoredumpConfigDumpMode as an explicit stub #6694

Merged
MarcZX10 merged 1 commit from upstream-pr/6694 into main 2026-10-17 03:34:13 +00:00
MarcZX10 commented 2026-10-16 05:06:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T05:06:22Z.


What

Closes #6688. Carries Tamalero's existing commit unchanged, preserving its original commit author and co-author metadata. The change exports sceCoredumpConfigDumpMode as a throwing stub because its signature and behavior are unknown, and records that limitation in the libkernel debt list. This lets the reported title resolve the import; calls still fail explicitly until the function is understood.

Tested

  • Linux: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON and cmake --build build --target libkernel --parallel 3 passed.
  • python3 tools/check_conventions.py --base upstream/main passed.
  • The LEGO Batman startup/gameplay run is reported by Tamalero in #6688; I did not run the title locally.

Checklist

  • Based on current main; no open PR implements this export
  • One topic per PR
  • No code comments added
  • Unknown behavior throws; documented in technical debt
  • No investigation files added to the repository
  • Generic export for an unresolved libkernel import
  • Depends on: none
  • Unblocks: PPSA16833, #6688
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4883762648 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6694). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T05:06:22Z. --- ### What Closes #6688. Carries Tamalero's existing commit unchanged, preserving its original commit author and co-author metadata. The change exports `sceCoredumpConfigDumpMode` as a throwing stub because its signature and behavior are unknown, and records that limitation in the libkernel debt list. This lets the reported title resolve the import; calls still fail explicitly until the function is understood. ### Tested - Linux: `cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON` and `cmake --build build --target libkernel --parallel 3` passed. - `python3 tools/check_conventions.py --base upstream/main` passed. - The LEGO Batman startup/gameplay run is reported by Tamalero in #6688; I did not run the title locally. ### Checklist - [x] Based on current `main`; no open PR implements this export - [x] One topic per PR - [x] No code comments added - [x] Unknown behavior throws; documented in technical debt - [x] No investigation files added to the repository - [x] Generic export for an unresolved libkernel import - [x] Depends on: none - [x] Unblocks: PPSA16833, #6688 - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-16 05:07:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T05:07:08Z.


Progress report (5d9dcc4 → ae5046e)

📉 System libraries: 88.8% (-0.03%, +1 declared functions)

🆕 1 declared as stubs
Library Name
libkernel sceCoredumpConfigDumpMode
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6208526757 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6694#issuecomment-6208526757). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-16T05:07:08Z. --- <!-- progress-report --> ### Progress report (5d9dcc4 → ae5046e) 📉 **System libraries**: 88.8% (-0.03%, +1 declared functions) <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libkernel | `sceCoredumpConfigDumpMode` | </details>
github-actions[bot] commented 2026-10-16 05:32:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T05:32:26Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5021 docs/dev/debt/libkernel.md
PR 6222 docs/dev/debt/libkernel.md
PR 6228 docs/dev/debt/libkernel.md
PR 6447 core/libs/prx/libkernel/System/src/Coredump.cpp
PR 6487 docs/dev/debt/libkernel.md
PR 6510 docs/dev/debt/libkernel.md
PR 6710 core/libs/prx/libkernel/System/src/Coredump.cpp
docs/dev/debt/libkernel.md
PR 6836 docs/dev/debt/libkernel.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6208826680 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6694#issuecomment-6208826680). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-16T05:32:26Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/dev/debt/libkernel.md` | | [PR 6222](https://www.github.com/boykopovar/AnyPS5/pull/6222) | `docs/dev/debt/libkernel.md` | | [PR 6228](https://www.github.com/boykopovar/AnyPS5/pull/6228) | `docs/dev/debt/libkernel.md` | | [PR 6447](https://www.github.com/boykopovar/AnyPS5/pull/6447) | `core/libs/prx/libkernel/System/src/Coredump.cpp` | | [PR 6487](https://www.github.com/boykopovar/AnyPS5/pull/6487) | `docs/dev/debt/libkernel.md` | | [PR 6510](https://www.github.com/boykopovar/AnyPS5/pull/6510) | `docs/dev/debt/libkernel.md` | | [PR 6710](https://www.github.com/boykopovar/AnyPS5/pull/6710) | `core/libs/prx/libkernel/System/src/Coredump.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 6836](https://www.github.com/boykopovar/AnyPS5/pull/6836) | `docs/dev/debt/libkernel.md` |
Tamalero commented 2026-10-16 23:04:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-16T23:04:24Z.


Title run on this PR's exact change: LEGO Batman: Legacy of the Dark Knight (PPSA16833 v01.010.000) loads and plays with it.

Tree: main 5d9dcc42d + this commit (cherry-picked, patch-identical to ae5046eeb) + #6699's commit (also patch-identical) + the sceWebBrowserDialogOpenForPredeterminedContent hunk from #6447, which the title needs for its Terms of Service screen. The build also carried two input-only changes (#6569 and the MouseInput.cpp change of #6153).

  • Without this commit the title doesn't start (undefined symbol: gzLt9Qrauk0, #6688).
  • With it, the title loads in all 3 runs today, and in one run goes through the menu, New Game, the opening cutscene and gameplay in the first area. sceCoredumpConfigDumpMode is never called (no throw in any of the 3 logs), so the explicit stub is enough for this title.
Details

Linux (CachyOS), RTX 4090, i9-14900K, GCC 16.2.1, Release. Relinked with --to-intel by the relinker at 5d9dcc42d. The other two runs stopped later for reasons outside this PR: one at "guest allocation … is still pinned by GPU work or an import" during a cold shader cache, one at start-up on the storage-image write-back throw (the #6301 message), which didn't repeat.

Tested and written by Claude (AI assistant) on a contributor's machine.

image
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6226328107 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6694#issuecomment-6226328107). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-16T23:04:24Z. --- Title run on this PR's exact change: LEGO Batman: Legacy of the Dark Knight (PPSA16833 v01.010.000) loads and plays with it. Tree: `main` `5d9dcc42d` + this commit (cherry-picked, patch-identical to `ae5046eeb`) + #6699's commit (also patch-identical) + the `sceWebBrowserDialogOpenForPredeterminedContent` hunk from #6447, which the title needs for its Terms of Service screen. The build also carried two input-only changes (#6569 and the `MouseInput.cpp` change of #6153). - Without this commit the title doesn't start (`undefined symbol: gzLt9Qrauk0`, #6688). - With it, the title loads in all 3 runs today, and in one run goes through the menu, New Game, the opening cutscene and gameplay in the first area. `sceCoredumpConfigDumpMode` is never called (no throw in any of the 3 logs), so the explicit stub is enough for this title. <details><summary>Details</summary> Linux (CachyOS), RTX 4090, i9-14900K, GCC 16.2.1, Release. Relinked with `--to-intel` by the relinker at `5d9dcc42d`. The other two runs stopped later for reasons outside this PR: one at "guest allocation … is still pinned by GPU work or an import" during a cold shader cache, one at start-up on the storage-image write-back throw (the #6301 message), which didn't repeat. </details> *Tested and written by Claude (AI assistant) on a contributor's machine.* <img width="3297" height="1918" alt="image" src="https://github.com/user-attachments/assets/2d034036-24ff-421b-8a83-505f13c9312d" />
MarcZX10 commented 2026-10-16 23:16:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T23:16:39Z.


Thanks for checking the exact stub commit in the title path. The three startup runs and the one run reaching gameplay provide useful evidence that exporting this symbol as an explicit stub gets past the undefined-symbol stop; since the export was not called in those runs, I will keep the claim limited to startup/title progress and not infer its runtime behavior.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6226473676 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6694#issuecomment-6226473676). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T23:16:39Z. --- Thanks for checking the exact stub commit in the title path. The three startup runs and the one run reaching gameplay provide useful evidence that exporting this symbol as an explicit stub gets past the undefined-symbol stop; since the export was not called in those runs, I will keep the claim limited to startup/title progress and not infer its runtime behavior.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6694
No description provided.