Bug 235975

Summary: [Flatpak SDK] Using thin archives with ld.bfd results in linker errors
Product: WebKit Reporter: Adrian Perez <aperez>
Component: Tools / TestsAssignee: Adrian Perez <aperez>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, clopez, mcatanzaro, pnormand, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://sourceware.org/bugzilla/show_bug.cgi?id=28138
Bug Depends on:    
Bug Blocks: 235476, 235979    
Attachments:
Description Flags
Patch ews-feeder: commit-queue-

Adrian Perez
Reported 2022-02-01 14:15:45 PST
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.
Attachments
Patch (11.39 KB, patch)
2022-02-01 14:25 PST, Adrian Perez
ews-feeder: commit-queue-
Adrian Perez
Comment 1 2022-02-01 14:25:10 PST
EWS
Comment 2 2022-02-01 15:25:42 PST
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].
Radar WebKit Bug Importer
Comment 3 2022-02-01 15:26:19 PST
Adrian Perez
Comment 4 2022-02-02 03:34:30 PST
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.
Note You need to log in before you can comment on or make changes to this bug.