test(avplayer): link guest_avplayer with the shared runtime libraries #4256
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4256"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T02:47:50Z.
What
Link
guest_avplayer_testswithout the inherited static runtime flags on Linux. The test imports__cxa_throwfromlibc.prx; a private static GCC unwinder cannot resume an exception through that shared library. With the shared runtimes, failedCheckassertions print their message and exit with code 1 instead of aborting during unwinding. This is the test-runner failure described in #2709.Tested
Linux, clean Release build on current
main: rebuiltguest_avplayer_tests;ctest -R '^guest_avplayer$'passed (1/1). A temporary forcedCheck(false)inTestPlaybackprintedforced unwind controland exited 1. Restored the test source and rebuilt the normal executable. The final link command includes sharedlibstdc++.so.6andlibgcc_s.so.1dependencies.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Original fix by Yassine; carried with commit authorship preserved.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T02:53:27Z.
Local validation on Linux, rebuilt from the current main base:
guest_avplayerpassed (1/1). A temporaryCheck(false)inTestPlaybackprinted the expected message and exited 1; I restored the test source and rebuilt the normal target. Intake, conventions, eligibility, register-context and macOS relinker checks pass. The Linux/Windows full-suite jobs are skipped by the workflow; Windows relinker is still running.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T02:54:23Z.
Update: the Windows relinker job has now passed as well. All reported checks are green; the workflow skips its Linux and Windows full-suite jobs for this PR.