feat(libs): declare system service import stubs for OS 3.20 compatibility #7821

Merged
xdCloudy merged 1 commit from upstream-pr/7821 into main 2026-10-20 02:12:35 +00:00
xdCloudy commented 2026-10-19 08:59:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-19T08:59:46Z.


What

Declare 592 pending exports for OS 3.20 compatibility across two PS5 system libraries: 477 in libSceSystemService and 115 in libSceMbus. The names and NIDs come from the PS5 3.20 SystemService and Mbus export lists. Existing declarations and exports covered by open PRs are omitted.

Every new function calls NotImplemented_nid_no_patch(__func__). The no-parameter forms follow the existing unknown-signature convention solely for import resolution; they are not ABI claims. The corresponding technical-debt files record this limitation. No export behavior is implemented, and no progress-counting rule, UI, or scanner is changed.

Against upstream main at f78675ae4d0314cc7b8316b091847327fbb2581c, tools/progress.py reports system libraries changing from 3,885/4,696 (82.73%) to 3,885/5,288 (73.47%). These are pending declarations, so the implemented count is unchanged. The published chart updates after a merge and successful Pages deployment.

The overlap report found no shared exports. I manually checked the shared CMake changes against #6044; that PR edits test paths and labels below the target definition, while this PR only adds the new source file to that definition.

Tested

The Linux CMake Release targets libSceMbus and libSceSystemService configured, compiled, and linked successfully on Ubuntu 24.04 (WSL) with GCC 13.3 and CMake 3.28.3 at head 86083c6267c4645e73df89c4b28bcad63f9fbf82. The same two CMake Release targets compiled and linked on Windows 11 with WinLibs MinGW-w64 GCC 15.2.0 and CMake 4.4.3, using a short mapped checkout path. Runtime tests were not run. The Linux conventions check passed on the rebased head. git diff --check passed. tools/pr_overlap.py --branch feat/ps5-system-services-exports found no shared exports; its shared-file notices are addressed above. tools/progress.py produced the counts above. Full PR CI requires a collaborator-triggered Build workflow run; it has not been run for this PR.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4918430699 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-19T08:59:46Z. --- ### What Declare 592 pending exports for OS 3.20 compatibility across two PS5 system libraries: 477 in `libSceSystemService` and 115 in `libSceMbus`. The names and NIDs come from the PS5 3.20 [SystemService](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceSystemService.c) and [Mbus](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceMbus.c) export lists. Existing declarations and exports covered by open PRs are omitted. Every new function calls `NotImplemented_nid_no_patch(__func__)`. The no-parameter forms follow the existing unknown-signature convention solely for import resolution; they are not ABI claims. The corresponding technical-debt files record this limitation. No export behavior is implemented, and no progress-counting rule, UI, or scanner is changed. Against upstream `main` at `f78675ae4d0314cc7b8316b091847327fbb2581c`, `tools/progress.py` reports system libraries changing from **3,885/4,696 (82.73%)** to **3,885/5,288 (73.47%)**. These are pending declarations, so the implemented count is unchanged. The published chart updates after a merge and successful Pages deployment. The overlap report found no shared exports. I manually checked the shared CMake changes against #6044; that PR edits test paths and labels below the target definition, while this PR only adds the new source file to that definition. ### Tested The Linux CMake Release targets `libSceMbus` and `libSceSystemService` configured, compiled, and linked successfully on Ubuntu 24.04 (WSL) with GCC 13.3 and CMake 3.28.3 at head `86083c6267c4645e73df89c4b28bcad63f9fbf82`. The same two CMake Release targets compiled and linked on Windows 11 with WinLibs MinGW-w64 GCC 15.2.0 and CMake 4.4.3, using a short mapped checkout path. Runtime tests were not run. The Linux conventions check passed on the rebased head. `git diff --check` passed. `tools/pr_overlap.py --branch feat/ps5-system-services-exports` found no shared exports; its shared-file notices are addressed above. `tools/progress.py` produced the counts above. Full PR CI requires a collaborator-triggered Build workflow run; it has not been run for this PR. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-19 09:00:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T09:00:32Z.


Progress report (f78675a → 86083c6)

📉 System libraries: 73.47% (-9.26%, +592 declared functions)

🆕 592 declared as stubs
Library Name
libSceMbus sceMbusAcquireControl
libSceMbus sceMbusAcquireControlList
libSceMbus sceMbusAcquireControlWithState
libSceMbus sceMbusAcquireControlWithState2
libSceMbus sceMbusAcquireControlWithStateFlag
libSceMbus sceMbusAddHandle
libSceMbus sceMbusAddHandleByDeviceId
libSceMbus sceMbusAddHandleByUserId
libSceMbus sceMbusAddHandleByVidPid
libSceMbus sceMbusAddHandleWithModuleId
libSceMbus sceMbusAttachToApplicationByPid
libSceMbus sceMbusBindDeviceWithUserId
libSceMbus sceMbusChangeAppModuleState
libSceMbus sceMbusCheckDriverCallback
libSceMbus sceMbusConvertToLocalDeviceId
libSceMbus sceMbusConvertToLocalDeviceId2
libSceMbus sceMbusConvertToMbusDeviceId
libSceMbus sceMbusDebugAcquireControl
libSceMbus sceMbusDebugAcquireControlWithState
libSceMbus sceMbusDebugAcquireControlWithState2
libSceMbus sceMbusDebugAcquireControlWithStateFlag
libSceMbus sceMbusDebugAddProcess
libSceMbus sceMbusDebugCheckProcessResume
libSceMbus sceMbusDebugDisableBgmForShellUi
libSceMbus sceMbusDebugGetApplicationStartupInfo
libSceMbus sceMbusDebugGetControlStatus
libSceMbus sceMbusDebugGetDeviceInfo
libSceMbus sceMbusDebugGetInternalInfo
libSceMbus sceMbusDebugGetPriorityInfo
libSceMbus sceMbusDebugReenableBgmForShellUi
libSceMbus sceMbusDebugReleaseControl
libSceMbus sceMbusDebugRemoveCameraAppModuleFocus
libSceMbus sceMbusDebugResumeApplication
libSceMbus sceMbusDebugSetApplicationFocusByAppId
libSceMbus sceMbusDebugSetCameraAppModuleFocus
libSceMbus sceMbusDebugSetControllerFocusByAppId
libSceMbus sceMbusDebugSetOtherProcessExcludedAction
libSceMbus sceMbusDebugSetPriority
libSceMbus sceMbusDebugStartApplication
libSceMbus sceMbusDebugStartApplication2
libSceMbus sceMbusDebugStartApplicationNull
libSceMbus sceMbusDebugSuspendApplication
libSceMbus sceMbusDebugTerminateApplication
libSceMbus sceMbusDebugTerminateProcess
libSceMbus sceMbusDetachFromApplicationByPid
libSceMbus sceMbusDisableBgmForShellUi
libSceMbus sceMbusDisableChat
libSceMbus sceMbusDisconnectDevice
libSceMbus sceMbusDumpAppInfo
libSceMbus sceMbusDumpDeviceInfo
libSceMbus sceMbusDumpHandleStatusInfo
libSceMbus sceMbusDumpHandleStatusInfoAll
libSceMbus sceMbusDumpModuleStateInfo
libSceMbus sceMbusDumpModuleStateInfoAll
libSceMbus sceMbusDumpPlayerInfo
libSceMbus sceMbusDumpPortHandleInfo
libSceMbus sceMbusDumpProcMediaInfo
libSceMbus sceMbusDumpProcMediaInfoAll
libSceMbus sceMbusDumpUserMediaInfo
libSceMbus sceMbusEnableChat
libSceMbus sceMbusEnterAudioOutAutoAttenuation
libSceMbus sceMbusEventBusStatusChangeSubscribe
libSceMbus sceMbusEventBusStatusChangeUnsubscribe
libSceMbus sceMbusEventCallbackFuncsInit_
libSceMbus sceMbusEventCreate_
libSceMbus sceMbusEventDestroy
libSceMbus sceMbusEventReceive
libSceMbus sceMbusGetControlStatus
libSceMbus sceMbusGetDeviceDescription
libSceMbus sceMbusGetDeviceInfoByBusId_
libSceMbus sceMbusGetDeviceInfoByConditionForDeviceService
libSceMbus sceMbusGetDeviceInfoByCondition_
libSceMbus sceMbusGetDeviceInfo_
libSceMbus sceMbusGetSimulatedBusUsableStatusByBusType
libSceMbus sceMbusGetSimulatedHandleStatusInfo
libSceMbus sceMbusGetSimulatedHandleStatusInfo2
libSceMbus sceMbusGetSparkState
libSceMbus sceMbusInit
libSceMbus sceMbusIsBgmProhibited
libSceMbus sceMbusIsUsingDevice
libSceMbus sceMbusLeaveAudioOutAutoAttenuation
libSceMbus sceMbusNotifyBtDisconnection
libSceMbus sceMbusNotifyDriverEvent
libSceMbus sceMbusReenableBgmForShellUi
libSceMbus sceMbusRegisterDriver
libSceMbus sceMbusReleaseControl
libSceMbus sceMbusRemoveCameraAppModuleFocus
libSceMbus sceMbusRemoveHandle
libSceMbus sceMbusRemoveProxy
libSceMbus sceMbusResolveByDeviceId
libSceMbus sceMbusResolveByHandle
libSceMbus sceMbusResolveByPlayerId
libSceMbus sceMbusResolveByUserId
libSceMbus sceMbusSetAutoLoginMode
libSceMbus sceMbusSetCameraAppModuleFocus
libSceMbus sceMbusSetDeviceFunctionState
libSceMbus sceMbusSetDuckingSetting
libSceMbus sceMbusSetProxy
libSceMbus sceMbusSetRoutingMode
libSceMbus sceMbusSetScratchData
... 492 more
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6263555271 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6263555271). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T09:00:32Z. --- <!-- progress-report --> ### Progress report (f78675a → 86083c6) 📉 **System libraries**: 73.47% (-9.26%, +592 declared functions) <details> <summary>🆕 592 declared as stubs</summary> | Library | Name | | - | - | | libSceMbus | `sceMbusAcquireControl` | | libSceMbus | `sceMbusAcquireControlList` | | libSceMbus | `sceMbusAcquireControlWithState` | | libSceMbus | `sceMbusAcquireControlWithState2` | | libSceMbus | `sceMbusAcquireControlWithStateFlag` | | libSceMbus | `sceMbusAddHandle` | | libSceMbus | `sceMbusAddHandleByDeviceId` | | libSceMbus | `sceMbusAddHandleByUserId` | | libSceMbus | `sceMbusAddHandleByVidPid` | | libSceMbus | `sceMbusAddHandleWithModuleId` | | libSceMbus | `sceMbusAttachToApplicationByPid` | | libSceMbus | `sceMbusBindDeviceWithUserId` | | libSceMbus | `sceMbusChangeAppModuleState` | | libSceMbus | `sceMbusCheckDriverCallback` | | libSceMbus | `sceMbusConvertToLocalDeviceId` | | libSceMbus | `sceMbusConvertToLocalDeviceId2` | | libSceMbus | `sceMbusConvertToMbusDeviceId` | | libSceMbus | `sceMbusDebugAcquireControl` | | libSceMbus | `sceMbusDebugAcquireControlWithState` | | libSceMbus | `sceMbusDebugAcquireControlWithState2` | | libSceMbus | `sceMbusDebugAcquireControlWithStateFlag` | | libSceMbus | `sceMbusDebugAddProcess` | | libSceMbus | `sceMbusDebugCheckProcessResume` | | libSceMbus | `sceMbusDebugDisableBgmForShellUi` | | libSceMbus | `sceMbusDebugGetApplicationStartupInfo` | | libSceMbus | `sceMbusDebugGetControlStatus` | | libSceMbus | `sceMbusDebugGetDeviceInfo` | | libSceMbus | `sceMbusDebugGetInternalInfo` | | libSceMbus | `sceMbusDebugGetPriorityInfo` | | libSceMbus | `sceMbusDebugReenableBgmForShellUi` | | libSceMbus | `sceMbusDebugReleaseControl` | | libSceMbus | `sceMbusDebugRemoveCameraAppModuleFocus` | | libSceMbus | `sceMbusDebugResumeApplication` | | libSceMbus | `sceMbusDebugSetApplicationFocusByAppId` | | libSceMbus | `sceMbusDebugSetCameraAppModuleFocus` | | libSceMbus | `sceMbusDebugSetControllerFocusByAppId` | | libSceMbus | `sceMbusDebugSetOtherProcessExcludedAction` | | libSceMbus | `sceMbusDebugSetPriority` | | libSceMbus | `sceMbusDebugStartApplication` | | libSceMbus | `sceMbusDebugStartApplication2` | | libSceMbus | `sceMbusDebugStartApplicationNull` | | libSceMbus | `sceMbusDebugSuspendApplication` | | libSceMbus | `sceMbusDebugTerminateApplication` | | libSceMbus | `sceMbusDebugTerminateProcess` | | libSceMbus | `sceMbusDetachFromApplicationByPid` | | libSceMbus | `sceMbusDisableBgmForShellUi` | | libSceMbus | `sceMbusDisableChat` | | libSceMbus | `sceMbusDisconnectDevice` | | libSceMbus | `sceMbusDumpAppInfo` | | libSceMbus | `sceMbusDumpDeviceInfo` | | libSceMbus | `sceMbusDumpHandleStatusInfo` | | libSceMbus | `sceMbusDumpHandleStatusInfoAll` | | libSceMbus | `sceMbusDumpModuleStateInfo` | | libSceMbus | `sceMbusDumpModuleStateInfoAll` | | libSceMbus | `sceMbusDumpPlayerInfo` | | libSceMbus | `sceMbusDumpPortHandleInfo` | | libSceMbus | `sceMbusDumpProcMediaInfo` | | libSceMbus | `sceMbusDumpProcMediaInfoAll` | | libSceMbus | `sceMbusDumpUserMediaInfo` | | libSceMbus | `sceMbusEnableChat` | | libSceMbus | `sceMbusEnterAudioOutAutoAttenuation` | | libSceMbus | `sceMbusEventBusStatusChangeSubscribe` | | libSceMbus | `sceMbusEventBusStatusChangeUnsubscribe` | | libSceMbus | `sceMbusEventCallbackFuncsInit_` | | libSceMbus | `sceMbusEventCreate_` | | libSceMbus | `sceMbusEventDestroy` | | libSceMbus | `sceMbusEventReceive` | | libSceMbus | `sceMbusGetControlStatus` | | libSceMbus | `sceMbusGetDeviceDescription` | | libSceMbus | `sceMbusGetDeviceInfoByBusId_` | | libSceMbus | `sceMbusGetDeviceInfoByConditionForDeviceService` | | libSceMbus | `sceMbusGetDeviceInfoByCondition_` | | libSceMbus | `sceMbusGetDeviceInfo_` | | libSceMbus | `sceMbusGetSimulatedBusUsableStatusByBusType` | | libSceMbus | `sceMbusGetSimulatedHandleStatusInfo` | | libSceMbus | `sceMbusGetSimulatedHandleStatusInfo2` | | libSceMbus | `sceMbusGetSparkState` | | libSceMbus | `sceMbusInit` | | libSceMbus | `sceMbusIsBgmProhibited` | | libSceMbus | `sceMbusIsUsingDevice` | | libSceMbus | `sceMbusLeaveAudioOutAutoAttenuation` | | libSceMbus | `sceMbusNotifyBtDisconnection` | | libSceMbus | `sceMbusNotifyDriverEvent` | | libSceMbus | `sceMbusReenableBgmForShellUi` | | libSceMbus | `sceMbusRegisterDriver` | | libSceMbus | `sceMbusReleaseControl` | | libSceMbus | `sceMbusRemoveCameraAppModuleFocus` | | libSceMbus | `sceMbusRemoveHandle` | | libSceMbus | `sceMbusRemoveProxy` | | libSceMbus | `sceMbusResolveByDeviceId` | | libSceMbus | `sceMbusResolveByHandle` | | libSceMbus | `sceMbusResolveByPlayerId` | | libSceMbus | `sceMbusResolveByUserId` | | libSceMbus | `sceMbusSetAutoLoginMode` | | libSceMbus | `sceMbusSetCameraAppModuleFocus` | | libSceMbus | `sceMbusSetDeviceFunctionState` | | libSceMbus | `sceMbusSetDuckingSetting` | | libSceMbus | `sceMbusSetProxy` | | libSceMbus | `sceMbusSetRoutingMode` | | libSceMbus | `sceMbusSetScratchData` | | ... | 492 more | </details>
github-actions[bot] commented 2026-10-19 09:08:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T09:08:04Z.


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 6044 core/libs/prx/libSceMbus/CMakeLists.txt
core/libs/prx/libSceSystemService/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6263680444 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6263680444). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T09:08:04Z. --- <!-- 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 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceMbus/CMakeLists.txt`<br>`core/libs/prx/libSceSystemService/CMakeLists.txt` |
xdCloudy commented 2026-10-19 09:12:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-19T09:12:01Z.


Review guide for the 592 declarations:

Library New declarations Evidence Code
libSceSystemService 477 PS5 3.20 export list PendingExports.cpp
libSceMbus 115 PS5 3.20 export list PendingExports.cpp

Suggested review order:

  1. Check that each added symbol belongs to its linked OS 3.20 export list. Existing declarations and symbols covered by other open PRs were excluded; tools/pr_overlap.py reported no shared exports.
  2. Decide whether the existing no-parameter convention is acceptable for this batch. Signatures and console behavior are unverified; these declarations are for import resolution, not ABI claims. Both SystemService and Mbus debt notes record that limit. Every new function calls NotImplemented_nid_no_patch(__func__).
  3. Check the two CMakeLists.txt changes, which only add the corresponding PendingExports.cpp file to each existing library target. PR #6044 touches these CMake files in different lines; I checked those changes manually and found no conflicting export edits.

The progress bot reports +592 declared, +0 implemented, moving its projected system-library figure from 82.73% to 73.47% if merged. This PR does not change the progress calculation. Conventions passed; Linux/Windows Build jobs were skipped because a collaborator must trigger the full workflow. No local build or runtime tests were run.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6263751014 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6263751014). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-19T09:12:01Z. --- Review guide for the 592 declarations: | Library | New declarations | Evidence | Code | | --- | ---: | --- | --- | | `libSceSystemService` | 477 | [PS5 3.20 export list](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceSystemService.c) | [`PendingExports.cpp`](https://github.com/boykopovar/AnyPS5/blob/86083c6267c4645e73df89c4b28bcad63f9fbf82/core/libs/prx/libSceSystemService/PendingExports.cpp) | | `libSceMbus` | 115 | [PS5 3.20 export list](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceMbus.c) | [`PendingExports.cpp`](https://github.com/boykopovar/AnyPS5/blob/86083c6267c4645e73df89c4b28bcad63f9fbf82/core/libs/prx/libSceMbus/PendingExports.cpp) | Suggested review order: 1. Check that each added symbol belongs to its linked OS 3.20 export list. Existing declarations and symbols covered by other open PRs were excluded; `tools/pr_overlap.py` reported no shared exports. 2. Decide whether the existing no-parameter convention is acceptable for this batch. Signatures and console behavior are **unverified**; these declarations are for import resolution, not ABI claims. Both [SystemService](https://github.com/boykopovar/AnyPS5/blob/86083c6267c4645e73df89c4b28bcad63f9fbf82/docs/dev/debt/libSceSystemService.md) and [Mbus](https://github.com/boykopovar/AnyPS5/blob/86083c6267c4645e73df89c4b28bcad63f9fbf82/docs/dev/debt/libSceMbus.md) debt notes record that limit. Every new function calls `NotImplemented_nid_no_patch(__func__)`. 3. Check the two `CMakeLists.txt` changes, which only add the corresponding `PendingExports.cpp` file to each existing library target. PR #6044 touches these CMake files in different lines; I checked those changes manually and found no conflicting export edits. The progress bot reports **+592 declared, +0 implemented**, moving its projected system-library figure from 82.73% to 73.47% if merged. This PR does not change the progress calculation. Conventions passed; Linux/Windows Build jobs were skipped because a collaborator must trigger the full workflow. No local build or runtime tests were run.
xdCloudy commented 2026-10-19 09:17:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-19T09:17:35Z.


Replying to the overlap warning:

Some comparisons could not be completed because a pull request conflicts with the base branch.

I manually compared the two reported files with #6044 at head 5fa62e5960372f7caf378ce5e13912f1e0d3d514:

  • In libSceMbus/CMakeLists.txt, this PR adds PendingExports.cpp to the add_library(libSceMbus ...) line. #6044 changes the guest_mbus_tests source path and CTest registration inside if(BUILD_TESTING).
  • In libSceSystemService/CMakeLists.txt, this PR adds PendingExports.cpp to the add_library(libSceSystemService ...) line. #6044 changes guest test paths and CTest registrations inside if(BUILD_TESTING).

These are distinct edits in both shared files. #6044 does not add or change the exports declared here. The bot could not complete its automated comparison because #6044 already conflicts with upstream main; its warning is valid as an automation limitation, and this is the requested manual file review.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6263852069 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6263852069). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-19T09:17:35Z. --- Replying to the [overlap warning](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6263680444): > Some comparisons could not be completed because a pull request conflicts with the base branch. I manually compared the two reported files with [#6044](https://github.com/boykopovar/AnyPS5/pull/6044) at head `5fa62e5960372f7caf378ce5e13912f1e0d3d514`: - In `libSceMbus/CMakeLists.txt`, this PR adds `PendingExports.cpp` to the `add_library(libSceMbus ...)` line. #6044 changes the `guest_mbus_tests` source path and CTest registration inside `if(BUILD_TESTING)`. - In `libSceSystemService/CMakeLists.txt`, this PR adds `PendingExports.cpp` to the `add_library(libSceSystemService ...)` line. #6044 changes guest test paths and CTest registrations inside `if(BUILD_TESTING)`. These are distinct edits in both shared files. #6044 does not add or change the exports declared here. The bot could not complete its automated comparison because #6044 already conflicts with upstream `main`; its warning is valid as an automation limitation, and this is the requested manual file review.
MarcZX10 commented 2026-10-19 14:37:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-19T14:37:15Z.


Independent check on head 86083c6267c4645e73df89c4b28bcad63f9fbf82:

  • All 115 new Mbus names and 477 new SystemService names occur in the cited pinned PS5 3.20 export lists. Neither pending file has duplicate names, and none of these names duplicates the existing Export.cpp definitions.
  • Both PendingExports.cpp translation units compile with GCC 12.2 in C++20 mode on Linux.

Scope limit: GitHub shows conventions and intake checks passing, but the full Linux/Windows build jobs were skipped. Both targets are EXCLUDE_FROM_ALL, so those skipped/default build jobs do not establish that the complete libraries link. I have not run a full target link or runtime tests; please get a full build of libSceMbus and libSceSystemService before merge.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6269827255 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6269827255). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-19T14:37:15Z. --- Independent check on head `86083c6267c4645e73df89c4b28bcad63f9fbf82`: - All 115 new Mbus names and 477 new SystemService names occur in the cited pinned PS5 3.20 export lists. Neither pending file has duplicate names, and none of these names duplicates the existing `Export.cpp` definitions. - Both `PendingExports.cpp` translation units compile with GCC 12.2 in C++20 mode on Linux. Scope limit: GitHub shows conventions and intake checks passing, but the full Linux/Windows build jobs were skipped. Both targets are `EXCLUDE_FROM_ALL`, so those skipped/default build jobs do not establish that the complete libraries link. I have not run a full target link or runtime tests; please get a full build of `libSceMbus` and `libSceSystemService` before merge.
MarcZX10 commented 2026-10-19 14:38:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-19T14:38:57Z.


Follow-up validation on the same head: I directly compiled and linked each library source set as a Linux shared object with GCC 12.2/C++20 (Export.cpp + PendingExports.cpp for Mbus; those plus LoadExec.cpp for SystemService). nm -D --defined-only found all 115 and 477 new exports, respectively. This confirms the local source sets compile/link together without duplicate definitions. It does not include CMake target options or linked project dependencies, so the full CMake build remains outstanding.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6269862943 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6269862943). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-19T14:38:57Z. --- Follow-up validation on the same head: I directly compiled and linked each library source set as a Linux shared object with GCC 12.2/C++20 (`Export.cpp` + `PendingExports.cpp` for Mbus; those plus `LoadExec.cpp` for SystemService). `nm -D --defined-only` found all 115 and 477 new exports, respectively. This confirms the local source sets compile/link together without duplicate definitions. It does not include CMake target options or linked project dependencies, so the full CMake build remains outstanding.
xdCloudy commented 2026-10-19 14:44:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-19T14:44:39Z.


Follow-up validation on the same head: I directly compiled and linked each library source set as a Linux shared object with GCC 12.2/C++20 (Export.cpp + PendingExports.cpp for Mbus; those plus LoadExec.cpp for SystemService). nm -D --defined-only found all 115 and 477 new exports, respectively. This confirms the local source sets compile/link together without duplicate definitions. It does not include CMake target options or linked project dependencies, so the full CMake build remains outstanding.

On it. Next reply will be the information you require.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6269984890 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6269984890). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-19T14:44:39Z. --- > Follow-up validation on the same head: I directly compiled and linked each library source set as a Linux shared object with GCC 12.2/C++20 (`Export.cpp` + `PendingExports.cpp` for Mbus; those plus `LoadExec.cpp` for SystemService). `nm -D --defined-only` found all 115 and 477 new exports, respectively. This confirms the local source sets compile/link together without duplicate definitions. It does not include CMake target options or linked project dependencies, so the full CMake build remains outstanding. On it. Next reply will be the information you require.
xdCloudy commented 2026-10-19 14:49:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-19T14:49:22Z.


Following up on the request to build the CMake library targets: I built both targets at PR head 86083c6267c4645e73df89c4b28bcad63f9fbf82 in Ubuntu 24.04 (WSL), with GCC 13.3, CMake 3.28.3, and Ninja. I initialized the repository submodules, then ran:

cmake -S . -B build-pr7821 -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
cmake --build build-pr7821 --target libSceMbus libSceSystemService --parallel 4

Result: CMake configuration succeeded, and both targets compiled and linked successfully. The outputs are x86-64 ELF shared objects at build-pr7821/core/libs/libs/unpatched/libSceMbus.prx and build-pr7821/core/libs/libs/unpatched/libSceSystemService.prx. Re-running the target build returned exit code 0.

This validates the Linux CMake target build requested here. I did not run runtime tests or a Windows build; GitHub's full Build workflow is still skipped pending a collaborator-triggered run. No PR code changed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6270082806 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6270082806). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-19T14:49:22Z. --- Following up on the [request to build the CMake library targets](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6269827255): I built both targets at PR head `86083c6267c4645e73df89c4b28bcad63f9fbf82` in Ubuntu 24.04 (WSL), with GCC 13.3, CMake 3.28.3, and Ninja. I initialized the repository submodules, then ran: ```sh cmake -S . -B build-pr7821 -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ cmake --build build-pr7821 --target libSceMbus libSceSystemService --parallel 4 ``` **Result:** CMake configuration succeeded, and both targets compiled and linked successfully. The outputs are x86-64 ELF shared objects at `build-pr7821/core/libs/libs/unpatched/libSceMbus.prx` and `build-pr7821/core/libs/libs/unpatched/libSceSystemService.prx`. Re-running the target build returned exit code 0. This validates the Linux CMake target build requested here. I did not run runtime tests or a Windows build; GitHub's full Build workflow is still skipped pending a collaborator-triggered run. No PR code changed.
xdCloudy commented 2026-10-19 14:53:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-19T14:53:23Z.


I’m starting the Windows CMake target build now for libSceMbus and libSceSystemService. I’ll follow up here with the toolchain, commands, and result once it finishes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6270168618 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6270168618). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-19T14:53:23Z. --- I’m starting the Windows CMake target build now for `libSceMbus` and `libSceSystemService`. I’ll follow up here with the toolchain, commands, and result once it finishes.
xdCloudy commented 2026-10-19 15:06:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-19T15:06:42Z.


Windows build follow-up at head 86083c6267c4645e73df89c4b28bcad63f9fbf82: both CMake targets compiled and linked successfully on Windows 11 with the repository-documented WinLibs MinGW-w64 GCC 15.2.0, CMake 4.4.3, Ninja, and initialized submodules.

The checkout's original long path caused a compiler dependency-file path error during the first attempt. I mapped that same checkout to R: and ran:

cmake -S R:\ -B R:\b7821 -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
cmake --build R:\b7821 --target libSceMbus libSceSystemService --parallel 4

The second command exited 0. Both libSceMbus.prx and libSceSystemService.prx were produced under R:\b7821\core\libs\libs\unpatched\; objdump -f identifies both as pei-x86-64 binaries. This covers the requested Windows CMake target build as well as the Linux target build reported above. Runtime tests were not run, and GitHub's full Build workflow remains skipped pending a collaborator-triggered run. No PR code changed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6270456394 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6270456394). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-19T15:06:42Z. --- Windows build follow-up at head `86083c6267c4645e73df89c4b28bcad63f9fbf82`: **both CMake targets compiled and linked successfully** on Windows 11 with the repository-documented WinLibs MinGW-w64 GCC 15.2.0, CMake 4.4.3, Ninja, and initialized submodules. The checkout's original long path caused a compiler dependency-file path error during the first attempt. I mapped that same checkout to `R:` and ran: ```powershell cmake -S R:\ -B R:\b7821 -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ cmake --build R:\b7821 --target libSceMbus libSceSystemService --parallel 4 ``` The second command exited 0. Both `libSceMbus.prx` and `libSceSystemService.prx` were produced under `R:\b7821\core\libs\libs\unpatched\`; `objdump -f` identifies both as `pei-x86-64` binaries. This covers the requested Windows CMake target build as well as the Linux target build reported above. Runtime tests were not run, and GitHub's full Build workflow remains skipped pending a collaborator-triggered run. No PR code changed.
xdCloudy commented 2026-10-19 15:13:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-19T15:13:23Z.


If you need anything else, let me know. @MarcZX10

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6270598837 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6270598837). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-19T15:13:23Z. --- If you need anything else, let me know. @MarcZX10
MarcZX10 commented 2026-10-19 15:19:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-19T15:19:50Z.


Thanks for completing the Windows build and reporting the toolchain and commands. Together with the earlier Linux CMake build, this confirms both libSceMbus and libSceSystemService compile and link on Linux and Windows at head 86083c6267c4645e73df89c4b28bcad63f9fbf82. Runtime tests were not run and the hosted full Build workflow remains skipped, as you noted.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6270734928 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6270734928). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-19T15:19:50Z. --- Thanks for completing the Windows build and reporting the toolchain and commands. Together with the earlier Linux CMake build, this confirms both `libSceMbus` and `libSceSystemService` compile and link on Linux and Windows at head `86083c6267c4645e73df89c4b28bcad63f9fbf82`. Runtime tests were not run and the hosted full Build workflow remains skipped, as you noted.
adriadam10 commented 2026-10-20 02:13:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-20T02:13:31Z.


Checked that all 592 names are unique and not already defined elsewhere, every body throws through NotImplemented_nid_no_patch, and the debt lines are in place; merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6281736234 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7821#issuecomment-6281736234). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-20T02:13:31Z. --- Checked that all 592 names are unique and not already defined elsewhere, every body throws through `NotImplemented_nid_no_patch`, and the debt lines are in place; merged.
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!7821
No description provided.