Repository navigation
revert: libSceFreeTypeOt forwarded outline bitmap rendering (#19411) - #19762
Conversation
…ar#19411) This reverts boykopovar#19411 (merge 5891d14). Since it merged, guest_freetype_ot_patched times out (20 s) on Linux; it passed in 0.00 s before (Linux batch pb-20261113T1903Z, main alone).
PrivacyOnion
left a comment
There was a problem hiding this comment.
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 0fb2017ec1:
- Conventions:
tools/check_conventions.pypassed;git diff --checkclean. - Build:
guest_freetype_ot_testsfailed to build.ftbase.c:(.text+0x1bb7): undefined reference to `FT_Stream_Open' ftbase.c:(.text+0x24c7): undefined reference to `FT_Stream_Open' ftbase.c:(.text+0x73c8): undefined reference to `FT_Stream_Open' ftbase.c:(.text+0x74c8): undefined reference to `FT_Stream_Open' ftbase.c:(.text+0x75c8): undefined reference to `FT_Stream_Open' /usr/bin/ld: 3rdparty/freetype/libfreetype.a(ftbase.c.o):ftbase.c:(.text+0xe495): more undefined references to `FT_Stream_Open' follow ftinit.c:(.text+0x1fc): undefined reference to `FT_New_Memory' /usr/bin/ld: ftinit.c:(.text+0x23c): undefined reference to `FT_Done_Memory' ftinit.c:(.text+0x276): undefined reference to `FT_Done_Memory' collect2: error: ld returned 1 exit status - Note: the AI-assisted checkbox can stay.
Requesting changes for the points above.
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
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.
|
|
Windows check of head Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run these tests on pull requests.
AI-assisted: yes. |
Progress report (752c0f7 → 0fb2017)📉 System libraries: 40.09% (-0.0025%, -1 reverted functions)
|
| Library | Name |
|---|---|
| libSceFreeTypeOt | sceFreeTypeOtOutlineGetBitmap_nid_no_patch |
Changed libraries (implemented exports)
| Library | Before | After | Change |
|---|---|---|---|
| libSceFreeTypeOt | 142/199 (71.36%) | 141/199 (70.85%) | -0.50% |
|
Root cause, from running the test under gdb on Linux: The other exports that share a NID with libSceFreeType avoid this. Their forwarders live in I tried that shape for this function on
With that, AI-assisted: yes (Claude Code). |
|
@RiverWhy Thanks for tracing the patched Linux hang and testing the Windows-only forwarder approach on Linux. @oneandonlydean Would you be open to a standalone fix for the outline-bitmap hang in place of this revert? The fix in #19415 keeps If that approach works for you, I can pull the bitmap fix into its own PR and rebase #19410 and #19415 once it lands. |
|
Root cause reproduced here on a non-ASan Measurements:
So #19411 is a new instance of the class #13730 already carries ( I am not opening a competing PR: the revert here, #19410/#19415 and #13730 already cover the topic. AI-assisted. |
What
Exact inverse revert of #19411 (merge 5891d14). Since it merged,
guest_freetype_ot_patchedtimes out (20 s) on Linux; it passed in 0.00 s before. Main alone fails it in the Linux batch pb-20261113T1903Z (base d261fa6); the last Linux batch without #19411 passed it. The change can come back once the test passes on Linux.Tested
guest_freetype_ot_patchedmust pass on Linux on this PR.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)