We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ubuntu 16.04 and swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-25-a-ubuntu16.04
md5: 7e68a5445dfe205831b793e0904a8527
duplicates:
Issue Description:
Static version of libdispatch is missing in swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-25-a-ubuntu16.04. Seems it is also missing in 4.0.3 release.
For test program like this:
import Dispatch dispatchMain()
Result is:
~/test$ swift build -c release -Xswiftc -static-stdlib Compile Swift Module 'test' (1 sources) Linking ./.build/x86_64-unknown-linux/release/test /usr/bin/ld.gold: error: cannot find -ldispatch /usr/bin/ld.gold: error: cannot find -lswiftImageInspectionShared /swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-25-a-ubuntu16.04/usr/lib/swift/linux/x86_64/swiftrt.o:/home/buildnode/jenkins/workspace/oss-swift-4.1-package-linux-ubuntu-16_04/swift/stdlib/pu blic/runtime/SwiftRT-ELF.cpp:function swift_image_constructor(): error: undefined reference to 'swift_addNewDSOImage' /home/notorca/test/.build/x86_64-unknown-linux/release/test.build/main.swift.o:/home/notorca/test/.build/x86_64-unknown-linux/release/test.build/main.swift.o:function main: error: unde fined reference to '_T08Dispatch12dispatchMains5NeverOyF' clang: error: linker command failed with exit code 1 (use -v to see invocation) <unknown>:0: error: link command failed with exit code 1 (use -v to see invocation) error: terminated(1): /swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-25-a-ubuntu16.04/usr/bin/swift-build-tool -f /home/notorca/test/.build/release.yaml main output:
Error about swiftImageInspectionShared is related to SR-7038.
The text was updated successfully, but these errors were encountered:
This is expected, IIRC.
Sorry, something went wrong.
Comment by Cyril Lashkevich (JIRA)
Is there any specific reason not to have static libdispatch?
I think we just need to finish the support for static linking. I am sure there’s already a bug tracking this.
Oops, yep.
No branches or pull requests
Environment
Ubuntu 16.04 and swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-25-a-ubuntu16.04
Additional Detail from JIRA
md5: 7e68a5445dfe205831b793e0904a8527
duplicates:
Issue Description:
Static version of libdispatch is missing in swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-25-a-ubuntu16.04. Seems it is also missing in 4.0.3 release.
For test program like this:
Result is:
Error about swiftImageInspectionShared is related to SR-7038.
The text was updated successfully, but these errors were encountered: