-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
TBDGenArea → compiler: TBD generationArea → compiler: TBD generationbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfsource compatibility suiteFlag: An issue that surfaced in the source compatibility suiteFlag: An issue that surfaced in the source compatibility suiteswift 6.0unexpected errorBug: Unexpected errorBug: Unexpected error
Description
| Previous ID | SR-15105 |
| Radar | rdar://problem/82303284 |
| Original Reporter | @hamishknight |
| Type | Bug |
Environment
swift-main-source-compat-suite
swift-main-source-compat-suite-debug
swift-5.5-source-compat-suite
Additional Detail from JIRA
| Votes | 0 |
| Component/s | |
| Labels | Bug |
| Assignee | None |
| Priority | Medium |
md5: c04cf32deba14c05720d7fe43ebbf716
Issue Description:
https://ci.swift.org/job/swift-main-source-compat-suite/6084/
https://ci.swift.org/job/swift-5.5-source-compat-suite/139/
siesta is failing with:
error: link command failed with exit code 1 (use -v to see invocation)
duplicate symbol '_NDR_record' in:
/Volumes/swift-ci/jenkins/workspace/swift-main-source-compat-suite/swift-source-compat-suite/project_cache/siesta/.build/x86_64-apple-macosx/release/CwlPreconditionTesting.build/CwlBadInstructionException.swift.o
/Volumes/swift-ci/jenkins/workspace/swift-main-source-compat-suite/swift-source-compat-suite/project_cache/siesta/.build/x86_64-apple-macosx/release/CwlPreconditionTesting.build/CwlCatchBadInstruction.swift.oAnd in a debug run https://ci.swift.org/job/swift-main-source-compat-suite-debug/4198/,
both siesta and Nimble fail with:
<unknown>:0: error: symbol 'NDR_record' (NDR_record) is in generated IR file, but not in TBD file
<unknown>:0: error: please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project, and add '-Xfrontend -validate-tbd-against-ir=none' to squash the errorsLooks like this has been worked around upstream in mattgallagher/CwlPreconditionTesting@0630439888c94657a235ffcd5977d6047ef3c87b, although Nimble and siesta don't yet have it in their dependencies.
Metadata
Metadata
Assignees
Labels
TBDGenArea → compiler: TBD generationArea → compiler: TBD generationbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfsource compatibility suiteFlag: An issue that surfaced in the source compatibility suiteFlag: An issue that surfaced in the source compatibility suiteswift 6.0unexpected errorBug: Unexpected errorBug: Unexpected error