| Summary: | [CMake] REGRESSION(r289611): Debug builds fail linking binaries with ld.lld | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> | ||||||||
| Component: | Tools / Tests | Assignee: | Adrian Perez <aperez> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | ews-watchlist, keith_miller, mark.lam, mcatanzaro, msaboff, saam, tzagallo, webkit-bug-importer, ysuzuki, zdobersek | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Local Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=235979 https://bugs.webkit.org/show_bug.cgi?id=236976 |
||||||||||
| Attachments: |
|
||||||||||
|
Description
Adrian Perez
2022-02-11 07:15:06 PST
Created attachment 451691 [details]
Patch
Created attachment 451693 [details]
Patch v2
Removes the leading dot from the section name,
hopefully that will make the EWS for Apple ports happier.
By the way, I think this is an interesting example about how LLD having slightly stricter defaults ended up uncovering an issue in the code =) (In reply to Adrian Perez from comment #2) > Created attachment 451693 [details] > Patch v2 > > Removes the leading dot from the section name, > hopefully that will make the EWS for Apple ports happier. Gah! Neither GNU toolchains nor Apple's like “.pushsection text”. I wanted to use pushsection/popsection because the assembler (the GNU one at least) sanity-checks that a push has a corresponding pop, and it would be neat to have that; but it will be more portable to use .text/.previous instead. Created attachment 451697 [details]
Patch v3
This version of the patch uses .previous to undo the effect of the .text
directives. The net result is the same as .pushsection/.popsection, but
the source is more portable.
Committed r289695 (247180@main): <https://commits.webkit.org/247180@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 451697 [details]. |