Bug 291363
| Summary: | GenerateTAPI failure with ENABLE_WEBGPU_SWIFT enabled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | adrian_taylor |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | emw |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
adrian_taylor
Reproduced with internal code, but this should be the open source equivalent steps:
1. OpenSource version e6f5defca40f979f3d4777bc51cfd25795f90e31
2. In OpenSource directory, create LocalOverrides.xcconfig and put “ENABLE_WEBGPU_SWIFT = ENABLE_WEBGPU_SWIFT” inside
3. make debug
Results:
** BUILD FAILED **
The following build commands failed:
GenerateTAPI WebKitBuild/Debug/WebGPU.framework/Versions/A/WebGPU.tbd normal arm64e (in target 'WebGPU' from project 'WebGPU')
Building workspace WebKit with scheme Everything up to WebKit + Tools and configuration Debug
(2 failures)
Due to
GenerateTAPI WebKitBuild/Debug/WebGPU.framework/Versions/A/WebGPU.tbd normal arm64e (in target 'WebGPU' from project 'WebGPU')
cd Source/WebGPU
<snip>
error: swift generated text based file doesn't have symbol '__C_Synthesized.__defaultArg_1__ZNK6WebGPU6Device16safeCreateBufferEmb() -> Swift.Bool', but found in dynamic library
error: swift generated text based file doesn't have symbol '__C_Synthesized.__defaultArg_3__ZNK6WebGPU6Device18newBufferWithBytesEPKvmmb() -> Swift.Bool', but found in dynamic library
error: swift generated text based file doesn't have symbol '__C_Synthesized.__defaultArg_3__ZNK6WebGPU6Device24newBufferWithBytesNoCopyEPvmmb() -> Swift.Bool', but found in dynamic library
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
adrian_taylor
rdar://148977134
Alexey Proskuryakov
Potential fix is in https://github.com/WebKit/WebKit/pull/43896
EWS
Committed 293999@main (3fce852ff4e4): <https://commits.webkit.org/293999@main>
Reviewed commits have been landed. Closing PR #43896 and removing active labels.