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-7107] Fix DLL Storage for swiftCore.dll #49655

Closed
compnerd opened this issue Mar 2, 2018 · 3 comments
Closed

[SR-7107] Fix DLL Storage for swiftCore.dll #49655

compnerd opened this issue Mar 2, 2018 · 3 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself standard library Area: Standard library umbrella Windows Platform: Windows

Comments

@compnerd
Copy link
Collaborator

compnerd commented Mar 2, 2018

Previous ID SR-7107
Radar None
Original Reporter @compnerd
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler, Standard Library
Labels Bug, Windows
Assignee @compnerd
Priority Medium

md5: 7221d5dd38b8d76971f3300dfd0f1716

Issue Description:

When building swiftCore we seem to get some of the library functions marked as dllimport when they are actually dllexport. The linker will generate a link to the ILT to resolve this, but is an unnecessary workaround. We should fix the storage in the IRGen.

Swift.obj : warning LNK4217: locally defined symbol swift_retain imported in function $SSqWy
Swift.obj : warning LNK4217: locally defined symbol swift_release imported in function $SSqWe
Swift.obj : warning LNK4217: locally defined symbol swift_bridgeObjectRetain imported in function $SSqWy.7
Swift.obj : warning LNK4217: locally defined symbol swift_bridgeObjectRelease imported in function $SSqWe.8
Swift.obj : warning LNK4217: locally defined symbol swift_getGenericMetadata imported in function $Ss3minyxx_xxxdts10ComparableRzlF
Swift.obj : warning LNK4217: locally defined symbol swift_getTupleTypeMetadata2 imported in function $Ss18EnumeratedIteratorV4nextSi6offset_7ElementQz7elementtSgyF
Swift.obj : warning LNK4217: locally defined symbol _swiftEmptyArrayStorage imported in function $Ss8SequencePsE6filterySay7ElementQzGSbAEKXEKFs9CharacterV17UnicodeScalarViewV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_isUniquelyReferenced_nonNull_native imported in function $Ss8SequencePsE6filterySay7ElementQzGSbAEKXEKFs9CharacterV17UnicodeScalarViewV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_getObjectType imported in function $Ss8SequencePsE6filterySay7ElementQzGSbAEKXEKFSS9UTF16ViewV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_bridgeObjectRetain_n imported in function $Ss8SequencePsE6filterySay7ElementQzGSbAEKXEKFSS9UTF16ViewV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_bridgeObjectRelease_n imported in function $Ss8SequencePsE6filterySay7ElementQzGSbAEKXEKFSS9UTF16ViewV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_allocObject imported in function $Ss8SequencePss03AnyA0Vy7ElementQzG03SubA0RtzrlE9dropFirstyAGSiFs22UnsafeRawBufferPointerV8IteratorV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_getGenericWitnessTable imported in function $Ss8SequencePss03AnyA0Vy7ElementQzG03SubA0RtzrlE9dropFirstyAGSiFs11_StringGutsV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_retain_n imported in function $Ss8SequencePss03AnyA0Vy7ElementQzG03SubA0RtzrlE8dropLastyAGSiFs11_StringGutsV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_isUniquelyReferencedOrPinned_nonNull_native imported in function $Ss8SequencePss03AnyA0Vy7ElementQzG03SubA0RtzrlE8dropLastyAGSiFs11_StringGutsV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_tryPin imported in function $Ss8SequencePss03AnyA0Vy7ElementQzG03SubA0RtzrlE8dropLastyAGSiFs11_StringGutsV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_unpin imported in function $Ss8SequencePss03AnyA0Vy7ElementQzG03SubA0RtzrlE8dropLastyAGSiFs11_StringGutsV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol _stdlib_malloc_size imported in function $Ss20_ArrayBufferProtocolPss5RangeVySiG7IndicesRtzrlE7copyingxx_tcfC
Swift.obj : warning LNK4217: locally defined symbol swift_getExistentialTypeMetadata imported in function $SSp14moveInitialize4from5countySpyxG_SitFs10MirrorPath_p_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_arrayInitWithTakeBackToFront imported in function $SSp14moveInitialize4from5countySpyxG_SitFs10MirrorPath_p_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_arrayInitWithTakeFrontToBack imported in function $SSp14moveInitialize4from5countySpyxG_SitFs10MirrorPath_p_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_arrayAssignWithTake imported in function $SSp10moveAssign4from5countySpyxG_SitF
Swift.obj : warning LNK4217: locally defined symbol swift_arrayDestroy imported in function $SSp12deinitialize5countSvSi_tF
Swift.obj : warning LNK4217: locally defined symbol swift_dynamicCast imported in function _swift_arrayDownCastIndirect
Swift.obj : warning LNK4217: locally defined symbol swift_getDynamicType imported in function $Ss5ErrorPsE7_domainSSvg
Swift.obj : warning LNK4217: locally defined symbol swift_getMetatypeMetadata imported in function $Ss5ErrorPsE7_domainSSvg
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_getDefaultErrorCode imported in function $Ss17_UnwrappingFailedVs5ErrorssACP5_codeSivgTW
Swift.obj : warning LNK4217: locally defined symbol swift_allocError imported in function $SSq16unwrappedOrErrorxyKF
Swift.obj : warning LNK4217: locally defined symbol swift_allocBox imported in function $Ss10CollectionPsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFs9SubstringV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol swift_arrayInitWithCopy imported in function $Ss15ContiguousArrayV15reserveCapacityyySiFSS_Tg5
Swift.obj : warning LNK4217: locally defined symbol swift_getExistentialMetatypeMetadata imported in function $Ss20_ArrayBufferProtocolPsE025_forceCreateUniqueMutableB0011countForNewB003minJ8Capacitys011_ContiguousaB0Vy7ElementQzGSi_SitFAGyypXpG_Tg5
Swift.obj : warning LNK4217: locally defined symbol swift_initStackObject imported in function $Ss15ContiguousArrayV11descriptionSSvg
Swift.obj : warning LNK4217: locally defined symbol swift_setDeallocating imported in function $Ss15ContiguousArrayV16debugDescriptionSSvg
Swift.obj : warning LNK4217: locally defined symbol swift_dynamicCastClass imported in function $Ss10ArraySliceV017_copyToContiguousA0s0eA0VyxGyF
Swift.obj : warning LNK4217: locally defined symbol _stdlib_memcmp imported in function $SSbySbSgSScfC
Swift.obj : warning LNK4217: locally defined symbol swift_isUniquelyReferencedNonObjC_nonNull_bridgeObject imported in function $Ss14_BridgeStorageV26isUniquelyReferencedNativeSbyF
Swift.obj : warning LNK4217: locally defined symbol swift_isUniquelyReferencedOrPinnedNonObjC_nonNull_bridgeObject imported in function $Ss14_BridgeStorageV34isUniquelyReferencedOrPinnedNativeSbyF
Swift.obj : warning LNK4217: locally defined symbol _swift_isClassOrObjCExistentialType imported in function $Ss25_isClassOrObjCExistentialySbxmlF
Swift.obj : warning LNK4217: locally defined symbol swift_dynamicCastUnknownClass imported in function $Ss14unsafeDowncast_2toxyXl_xmtRlzClF
Swift.obj : warning LNK4217: locally defined symbol _getSwiftClassInstanceExtents imported in function $Ss36_class_getInstancePositiveExtentSizeySiyXlXpF
Swift.obj : warning LNK4217: locally defined symbol _swift_class_getSuperclass imported in function $Ss14_getSuperclassyyXlXpSgyXlXpF
Swift.obj : warning LNK4217: locally defined symbol swift_isClassType imported in function $Ss14_getSuperclassyyXlXpSgypXpF
Swift.obj : warning LNK4217: locally defined symbol swift_isOptionalType imported in function $Ss11_isOptionalySbxmlF
Swift.obj : warning LNK4217: locally defined symbol swift_getEnumCaseMultiPayload imported in function $Ss7UnicodeO16_ParsingIteratorV4next8Encoding_13EncodedScalarQY_SgyF
Swift.obj : warning LNK4217: locally defined symbol swift_storeEnumTagMultiPayload imported in function $Ss10_UTFParserPss26RangeReplaceableCollection8Encoding_13EncodedScalarRPzrlE05parseG04froms7UnicodeO11ParseResultOy_AFGqd_z_ts16IteratorProtocolRdAD_8CodeUnitQZ7ElementRtd_lF
Swift.obj : warning LNK4217: locally defined symbol swift_deallocClassInstance imported in function $Ss26_KeyedEncodingContainerBoxCfD
Swift.obj : warning LNK4217: locally defined symbol _swiftEmptySetStorage imported in function $Ss3SetVss9DecodableRzrlE4fromAByxGs7Decoder_p_tKcfC
Swift.obj : warning LNK4217: locally defined symbol _swiftEmptyDictionaryStorage imported in function $Ss10DictionaryVss9DecodableRzsACR_rlE4fromAByxq_Gs7Decoder_p_tKcfC
Swift.obj : warning LNK4217: locally defined symbol swift_release_n imported in function $Ss10DictionaryVss9DecodableRzsACR_rlE4fromAByxq_Gs7Decoder_p_tKcfC
Swift.obj : warning LNK4217: locally defined symbol swift_projectBox imported in function $Ss10CollectionPsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF17appendSubsequenceL_3endSb5IndexQz_tsAARzlFs6UInt64V5WordsV_Tgq5
Swift.obj : warning LNK4217: locally defined symbol $SytN imported in function $Ss17MutableCollectionPss012RandomAccessB0Rzs10Comparable7Elements8SequencePRpzrlE4sortyyF
Swift.obj : warning LNK4217: locally defined symbol swift_dynamicCastMetatype imported in function $Ss22_ContiguousArrayBufferV24storesOnlyElementsOfTypeySbqd__mlF
Swift.obj : warning LNK4217: locally defined symbol _stdlib_strlen imported in function $Ss7UnicodeO4UTF8O19_nullCodeUnitOffset2inSiSPys4Int8VG_tFZ
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_HashingDetail_fixedSeedOverride imported in function $Ss3SetV8containsySbxF
Swift.obj : warning LNK4217: locally defined symbol swift_reflectionMirror_normalizedType imported in function $Ss16_DebuggerSupportO20stringForPrintObjectySSypFZ
Swift.obj : warning LNK4217: locally defined symbol swift_reflectionMirror_count imported in function $Ss16_DebuggerSupportO20stringForPrintObjectySSypFZ
Swift.obj : warning LNK4217: locally defined symbol swift_reflectionMirror_displayStyle imported in function $Ss16_DebuggerSupportO20stringForPrintObjectySSypFZ
Swift.obj : warning LNK4217: locally defined symbol swift_getTupleTypeMetadata3 imported in function $Ss11DoubleWidthVyxGs05FixedB7IntegerssADP4alleoiyyxz_xtFZTW
Swift.obj : warning LNK4217: locally defined symbol swift_getTupleTypeMetadata imported in function $Ss12_FixedArray8V7storagex_xxxxxxxtvg
Swift.obj : warning LNK4217: locally defined symbol swift_stdlib_strtof_clocale imported in function $SSf22_builtinIntegerLiteralSfBi2048_tcfC
Swift.obj : warning LNK4217: locally defined symbol swift_stdlib_strtod_clocale imported in function $SSd22_builtinIntegerLiteralSdBi2048_tcfC
Swift.obj : warning LNK4217: locally defined symbol swift_float32ToString imported in function $Ss16_float32ToString_5debugSSSf_SbtF
Swift.obj : warning LNK4217: locally defined symbol swift_float64ToString imported in function $Ss16_float64ToString_5debugSSSd_SbtF
Swift.obj : warning LNK4217: locally defined symbol _swift_makeAnyHashableUpcastingToHashableBaseType imported in function $Ss11AnyHashableVyABxcs0B0RzlufC
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_Hashing_secretKey imported in function $Ss8_HashingV9secretKeys6UInt64V_AEtvgZ
Swift.obj : warning LNK4217: locally defined symbol swift_bufferAllocate imported in function $Ss20ManagedBufferPointerVss05_HeapB7Header_RzrlEyAByxq_GyXlXp_5ValueQzSitcfC
Swift.obj : warning LNK4217: locally defined symbol swift_stdlib_readLine_stdin imported in function $Ss8readLine16strippingNewlineSSSgSb_tF
Swift.obj : warning LNK4217: locally defined symbol _stdlib_free imported in function $Ss8readLine16strippingNewlineSSSgSb_tF
Swift.obj : warning LNK4217: locally defined symbol swift_int64ToString imported in function $Ss13BinaryIntegerPsE12_description5radix9uppercaseSSSi_SbtF
Swift.obj : warning LNK4217: locally defined symbol swift_uint64ToString imported in function $Ss13BinaryIntegerPsE12_description5radix9uppercaseSSSi_SbtF
Swift.obj : warning LNK4217: locally defined symbol swift_slowAlloc imported in function $Ss10AnyKeyPathC9hashValueSivgys0bC6BufferVXEfU_
Swift.obj : warning LNK4217: locally defined symbol swift_slowDealloc imported in function $Ss10AnyKeyPathC9hashValueSivgys0bC6BufferVXEfU_
Swift.obj : warning LNK4217: locally defined symbol swift_once imported in function $Ss17_swift_getKeyPath7pattern9argumentsSVSv_SVtF
Swift.obj : warning LNK4217: locally defined symbol _swift_instantiateInertHeapObject imported in function $Ss29_getKeyPath_instantiateInlineyyBpF
Swift.obj : warning LNK4217: locally defined symbol swift_isUniquelyReferenced_native imported in function $Ss25isKnownUniquelyReferencedySbxSgzRlzClF
Swift.obj : warning LNK4217: locally defined symbol swift_getTypeName imported in function $Ss9_typeName_9qualifiedSSypXp_SbtF
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_unorm2_normalize imported in function $Ss16IteratorSequenceV4next7ElementQzSgyFs019_NormalizedCodeUnitA0V_Tg5
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_flockfile_stdout imported in function $Ss7_StdoutV5_lockyyF
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_funlockfile_stdout imported in function $Ss7_StdoutV7_unlockyyF
Swift.obj : warning LNK4217: locally defined symbol swift_reflectionMirror_subscript imported in function $Ss8getChild2of4type5indexSSSg5label_yp5valuetx_ypXpSitlF
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_unicode_strToLower imported in function $Ss29_nativeUnicodeLowercaseStringyS2SF
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_unicode_strToUpper imported in function $Ss29_nativeUnicodeUppercaseStringyS2SF
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_unorm2_hasBoundaryBefore imported in function $Ss15_compareUnicodeySiSu_Sut_s5RangeVySiGSu_SutADtF
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_unorm2_spanQuickCheckYes imported in function $Ss15_compareUnicodeySiSu_Sut_s5RangeVySiGSu_SutADtF
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_u_isdefined imported in function $Ss7UnicodeO6ScalarV10_normalize4intoSiSpys13_FixedArray16Vys6UInt16VGG_tF
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_u_hasBinaryProperty imported in function $Ss7UnicodeO6ScalarV10_normalize4intoSiSpys13_FixedArray16Vys6UInt16VGG_tF
Swift.obj : warning LNK4217: locally defined symbol swift_conformsToProtocol imported in function $Ss11_StringGutsV17_objectIdentifiers06ObjectD0VSgvg
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_unorm2_getNFCInstance imported in function $SSS5IndexV_6withinABSgAB_SS9UTF16ViewVtcfC
Swift.obj : warning LNK4217: locally defined symbol _stdlib_thread_getspecific imported in function $Ss19_ThreadLocalStorageV10getPointerSpyABGyFZ
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_ubrk_open imported in function $Ss7_tlsKeys6UInt32Vvau
Swift.obj : warning LNK4217: locally defined symbol _stdlib_thread_setspecific imported in function $Ss7_tlsKeys6UInt32Vvau
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_ubrk_close imported in function _stdlib_destroyTLS
Swift.obj : warning LNK4217: locally defined symbol _stdlib_thread_key_create imported in function _stdlib_destroyTLS
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_ubrk_setText imported in function $Ss22_UnmanagedOpaqueStringVs01_C7VariantssACP40_measureFirstExtendedGraphemeClusterSlowSiyFTW
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_ubrk_following imported in function $Ss22_UnmanagedOpaqueStringVs01_C7VariantssACP40_measureFirstExtendedGraphemeClusterSlowSiyFTW
Swift.obj : warning LNK4217: locally defined symbol __swift_stdlib_ubrk_preceding imported in function $Ss22_UnmanagedOpaqueStringVs01_C7VariantssACP39_measureLastExtendedGraphemeClusterSlowSiyFTW
Swift.obj : warning LNK4217: locally defined symbol swift_arrayAssignWithCopyBackToFront imported in function $SSp6assign4from5countySPyxG_SitF
Swift.obj : warning LNK4217: locally defined symbol swift_arrayAssignWithCopyFrontToBack imported in function $SSp6assign4from5countySPyxG_SitF
Swift.obj : warning LNK4217: locally defined symbol _stdlib_strlen_unsigned imported in function $Ss7UnicodeO4UTF8O19_nullCodeUnitOffset2inSiSPys5UInt8VG_tFZ
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_getUnsafeArgvArgc imported in function globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_func11
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_unicode_getASCIICollationTable imported in function $Ss7UnicodeO9hashASCIIySiSRys5UInt8VGFZTf4xd_n
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_unicodeCollationIterator_create imported in function $Ss7UnicodeO9hashASCIIySiSRys5UInt8VGFZTf4xd_n
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_unicodeCollationIterator_next imported in function $Ss7UnicodeO9hashASCIIySiSRys5UInt8VGFZTf4xd_n
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_unicodeCollationIterator_delete imported in function $Ss7UnicodeO9hashASCIIySiSRys5UInt8VGFZTf4xd_n
Swift.obj : warning LNK4217: locally defined symbol swift_deallocObject imported in function $Ss17FlattenCollectionVyxGs8SequencesWa
Swift.obj : warning LNK4217: locally defined symbol _stdlib_putchar_unlocked imported in function $Ss7UnicodeO5UTF16O16transcodedLength2of9decodedAs27repairingIllFormedSequencesSi5count_Sb7isASCIItSgx_q_mSbts16IteratorProtocolRzs01_A8EncodingR_8CodeUnitQy_7ElementRtzr0_lFZs08IndexingO0Vys8RepeatedVys6UInt32VGG_AB5UTF32OTgq5Tf4xnnd_n
Swift.obj : warning LNK4217: locally defined symbol _stdlib_fwrite_stdout imported in function $Ss7UnicodeO5UTF16O16transcodedLength2of9decodedAs27repairingIllFormedSequencesSi5count_Sb7isASCIItSgx_q_mSbts16IteratorProtocolRzs01_A8EncodingR_8CodeUnitQy_7ElementRtzr0_lFZs08IndexingO0Vys8RepeatedVys6UInt32VGG_AB5UTF32OTgq5Tf4xnnd_n
Swift.obj : warning LNK4217: locally defined symbol swift_EnumCaseName imported in function $Ss6MirrorV_17unlabeledChildren12displayStyle22ancestorRepresentationABx_q_AB07DisplayE0OSgAB08AncestorG0Otcs10CollectionR_r0_lufCs6UInt64V_s05EmptyJ0VyytGTgq5Tf4ndngd_n
Swift.obj : warning LNK4217: locally defined symbol swift_OpaqueSummary imported in function $Ss6MirrorV_17unlabeledChildren12displayStyle22ancestorRepresentationABx_q_AB07DisplayE0OSgAB08AncestorG0Otcs10CollectionR_r0_lufCs6UInt64V_s05EmptyJ0VyytGTgq5Tf4ndngd_n
Swift.obj : warning LNK4217: locally defined symbol _swift_stdlib_reportUnimplementedInitializerInFile imported in function $Ss16StrideToIteratorVMa
Swift.obj : warning LNK4217: locally defined symbol swift_getForeignTypeMetadata imported in function $SSo10HeapObjectVMa
Swift.obj : warning LNK4217: locally defined symbol swift_makeBoxUnique imported in function $Ss27_KeyedDecodingContainerBaseCMa
Swift.obj : warning LNK4217: locally defined symbol swift_getTypeByMangledName imported in function $Ss8RepeatedVMa
Swift.obj : warning LNK4217: locally defined symbol swift_getEnumCaseSinglePayload imported in function $Ss18EnumeratedIteratorVwet
Swift.obj : warning LNK4217: locally defined symbol swift_storeEnumTagSinglePayload imported in function $Ss18EnumeratedIteratorVwst
Swift.obj : warning LNK4217: locally defined symbol $SBi64_WV imported in function $Ss18EnumeratedIteratorVMi
Swift.obj : warning LNK4217: locally defined symbol swift_allocateGenericValueMetadata imported in function $Ss15ContiguousArrayVMi
Swift.obj : warning LNK4217: locally defined symbol swift_allocateGenericClassMetadata imported in function $Ss27_KeyedEncodingContainerBaseCMi
Swift.obj : warning LNK4217: locally defined symbol swift_initClassMetadata_UniversalStrategy imported in function $Ss27_KeyedEncodingContainerBaseCMi
Swift.obj : warning LNK4217: locally defined symbol swift_initStructMetadata imported in function $Ss16IndexingIteratorVMi
Swift.obj : warning LNK4217: locally defined symbol swift_initEnumMetadataSinglePayload imported in function $Ss11ClosedRangeVss10StrideableRzs13SignedInteger6StrideRpzrlE5IndexOMi
Swift.obj : warning LNK4217: locally defined symbol swift_initEnumMetadataMultiPayload imported in function $Ss11DoubleWidthV5WordsV11_IndexValueOMi
Swift.obj : warning LNK4217: locally defined symbol $SyycWV imported in function $Ss21LazyDropWhileIteratorVMi
Swift.obj : warning LNK4217: locally defined symbol $SBi8_WV imported in function $Ss12_FixedArray2VMi
Swift.obj : warning LNK4217: locally defined symbol $SBoWV imported in function $Ss14JoinedSequenceVMi
Swift.obj : warning LNK4217: locally defined symbol $SBpWV imported in function $Ss23MutatingWritebackBufferCMi
Swift.obj : warning LNK4217: locally defined symbol swift_getFunctionTypeMetadata0 imported in function $Ss6MirrorV22AncestorRepresentationOwug
Swift.obj : warning LNK4217: locally defined symbol swift_stdlib_reportFatalErrorInFile imported in function $Ss17_assertionFailure_4file4line5flagss5NeverOs12StaticStringV_A2HSus6UInt32VtFySRys5UInt8VGXEfU_yAMXEfU_yAMXEfU_TA
Swift.obj : warning LNK4217: locally defined symbol swift_stdlib_reportFatalError imported in function $Ss18_fatalErrorMessage_4file4line5flagss5NeverOs12StaticStringV_A2HSus6UInt32VtFySRys5UInt8VGXEfU0_yAMXEfU_TA
Swift.obj : warning LNK4049: locally defined symbol $Ss8SequenceMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss16IteratorProtocolMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss17MutableCollectionMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss23BidirectionalCollectionMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss10CollectionMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss22RandomAccessCollectionMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss13ArrayProtocolMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss26RangeReplaceableCollectionMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss9EquatableMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss9EncodableMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss9DecodableMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss8HashableMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss20_ArrayBufferProtocolMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss27ExpressibleByIntegerLiteralMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss7NumericMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss13BinaryIntegerMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss17FixedWidthIntegerMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss15UnsignedIntegerMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss13SignedIntegerMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss13SignedNumericMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss20LazySequenceProtocolMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss22LazyCollectionProtocolMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss10SetAlgebraMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss11_HashBufferMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss16_SequenceWrapperMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss10_PredicateMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss14_StringVariantMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss22_AnyCollectionProtocolMp imported
Swift.obj : warning LNK4049: locally defined symbol $Ss10StrideableMp imported
swiftrt.obj : warning LNK4217: locally defined symbol swift_addNewDSOImage imported in function "void __cdecl swift_image_constructor(void)" (?swift_image_constructor@@YAXXZ)

@belkadan
Copy link
Contributor

belkadan commented Mar 2, 2018

Hm, seems tricky. I'm not sure about the Swift declarations, those should Just Work, but the runtime symbols are ones that every other library needs as dllimport. Are we going to need a special flag besides -parse-stdlib?

@compnerd
Copy link
Collaborator Author

I think that the runtime symbols can be handled easier than the swift ones. We already have the preprocessor macro {{_**SWIFTCURRENT_DYLIB}} (which seems unfortunate, given that we have the CMake standard {{<target>_EXPORTS}}). We should be able to build that properly.

@compnerd
Copy link
Collaborator Author

This should be fixed in current master.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
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 standard library Area: Standard library umbrella Windows Platform: Windows
Projects
None yet
Development

No branches or pull requests

2 participants