You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Build using Toolchain, with static linking option enabled:
$ swift-DEVELOPMENT-SNAPSHOT-2019-02-14-a-osx/usr/bin/swift-build --package-path swift-source/sourcekit-lsp/ --static-swift-stdlib
Undefined symbols for architecture x86_64:
"__objc_realizeClassFromSwift", referenced from:
__ZL30_swift_updateClassMetadataImplPN5swift19TargetClassMetadataINS_9InProcessEEENS_16ClassLayoutFlagsEmPKPKNS_10TypeLayoutEPmb in libswiftCore.a(Metadata.cpp.o)
"_objc_setHook_getClass", referenced from:
__ZL19installGetClassHookv in libswiftCore.a(MetadataLookup.cpp.o)
ld: symbol(s) not found for architecture x86_64
: error: link command failed with exit code 1 (use -v to see invocation)
It's worth to mention that it compiles just fine without "--static-swift-stdlib". Also it worked fine with some Toolchains (not all)
option.
The text was updated successfully, but these errors were encountered:
Environment
macOS 10.14.3 (18D109)
Additional Detail from JIRA
md5: cac680cfa4b5f549f8d9dce48990b59f
Issue Description:
1. Install Toolchain: https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2019-02-14-a/swift-DEVELOPMENT-SNAPSHOT-2019-02-14-a-osx.pkg
2. Use sourcekit-lsp for the Toolchain https://github.com/apple/sourcekit-lsp/tree/swift-DEVELOPMENT-SNAPSHOT-2019-02-14-a
3. Build using Toolchain, with static linking option enabled:
It's worth to mention that it compiles just fine without "--static-swift-stdlib". Also it worked fine with some Toolchains (not all)
option.
The text was updated successfully, but these errors were encountered: