While working on bug #235476 we noticed that the version of Binutils that we get from the Freedesktop.org SDK contains a bug that results in the ld.bfd linker failing to read thin archives. The linker fails with the message: error adding symbols: malformed archive This has been fixed in the following upstream bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28138 We would want to include the two patches that fix the issue in our Flatpak SDK.
Created attachment 450568 [details] Patch
Committed r288916 (246655@main): <https://commits.webkit.org/246655@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 450568 [details].
<rdar://problem/88351562>
Similar patches filed to upstream Freedesktop SDK: * For “master” → https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/7229 * For “release/21.08” → https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/7241 We will be able to remove our local patch once fix lands in the 21.08 release *and* we update our SDK to point to the new tip of the branch.