Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-12410] Linker error when doing a 5.2 debug build of SwiftWebUI #54848

Open
swift-ci opened this issue Mar 25, 2020 · 1 comment
Open

[SR-12410] Linker error when doing a 5.2 debug build of SwiftWebUI #54848

swift-ci opened this issue Mar 25, 2020 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-12410
Radar rdar://problem/60885038
Original Reporter helge (JIRA User)
Type Bug
Environment

Swift 5.2 on Linux, debug build only

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 82ffd6612b0c38ec8f52c6f4991ae51b

Issue Description:

Release builds run through now. But on Linux, w/ OpenCombine, the 5.2 linker produces this error (Travis link: https://travis-ci.org/github/SwiftWebUI/SwiftWebUI/jobs/666849109):

[7/148] Compiling OpenCombine Optional.Publisher.swift
<unknown>:0: error: symbol 'opencombine_stop_in_debugger' (opencombine_stop_in_debugger) is in generated IR file, but not in TBD file
<unknown>:0: error: please file a radar or open a bug on bugs.swift.org with this code, and add -Xfrontend -validate-tbd-against-ir=none to squash the errors
[8/148] Compiling OpenCombine Publishers.AllSatisfy.swift
<unknown>:0: error: symbol 'opencombine_stop_in_debugger' (opencombine_stop_in_debugger) is in generated IR file, but not in TBD file
<unknown>:0: error: please file a radar or open a bug on bugs.swift.org with this code, and add -Xfrontend -validate-tbd-against-ir=none to squash the errors
... more of those

If you have Docker on your Mac, you can repro using:

git clone -b develop https://github.com/SwiftWebUI/SwiftWebUI
docker run --rm \
          -v "$PWD:/src" \
          -v "$PWD/.docker-build:/src/.build" \
          helje5/swift-dev:5.2.0 \
          bash -c 'cd /src && swift build -c debug'
@gottesmm
Copy link
Member

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

2 participants