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
Using String as a key to a dictionary results in missing symbols with no explained way to resolve:
ld.lld: error: undefined hidden symbol: _swift_stdlib_getNormData
>>> referenced by ld-temp.o
>>> lto.tmp:($ss16_StringGutsSliceV17_withNFCCodeUnitsyyys5UInt8VKXEKF)
>>> referenced by ld-temp.o
>>> lto.tmp:($ss7UnicodeO14_NFDNormalizerV7_resume9consumingAB6ScalarV6scalar_AB9_NormDataV04normH0tSgAHSgyXE_tF)
>>> referenced by ld-temp.o
>>> lto.tmp:($ss7UnicodeO14_NFDNormalizerV13decomposeSlow33_B136021ACF5AAEFA178D70CE67C7EEF0LLyyAB6ScalarV6scalar_AB9_NormDataV04normO0t_tF)
>>> referenced 6 more times
ld.lld: error: undefined hidden symbol: _swift_stdlib_getComposition
>>> referenced by ld-temp.o
>>> lto.tmp:($ss7UnicodeO14_NFCNormalizerV7_resume12consumingNFDAB6ScalarVSgAH6scalar_AB9_NormDataV04normI0tSgADzXE_tF)
>>> referenced by ld-temp.o
>>> lto.tmp:($ss7UnicodeO14_NFCNormalizerV7_resume12consumingNFDAB6ScalarVSgAH6scalar_AB9_NormDataV04normI0tSgADzXE_tF)
>>> referenced by ld-temp.o
>>> lto.tmp:($ss7UnicodeO14_NFCNormalizerV7_resume12consumingNFDAB6ScalarVSgAH6scalar_AB9_NormDataV04normI0tSgADzXE_tF.110)
>>> referenced 1 more times
ld.lld: error: undefined hidden symbol: _swift_stdlib_getDecompositionEntry
>>> referenced by ld-temp.o
>>> lto.tmp:($ss7UnicodeO14_NFDNormalizerV13decomposeSlow33_B136021ACF5AAEFA178D70CE67C7EEF0LLyyAB6ScalarV6scalar_AB9_NormDataV04normO0t_tF)
ld.lld: error: undefined hidden symbol: _swift_stdlib_nfd_decompositions
>>> referenced by ld-temp.o
>>> lto.tmp:($ss7UnicodeO14_NFDNormalizerV13decomposeSlow33_B136021ACF5AAEFA178D70CE67C7EEF0LLyyAB6ScalarV6scalar_AB9_NormDataV04normO0t_tF)
>>> referenced by ld-temp.o
>>> lto.tmp:($ss7UnicodeO14_NFDNormalizerV13decomposeSlow33_B136021ACF5AAEFA178D70CE67C7EEF0LLyyAB6ScalarV6scalar_AB9_NormDataV04normO0t_tF)
Reproduction
vartable:[String:Int]=[:]table["foo"]=1382
Expected behavior
at least there should be some description on how to link the NFD/NFC tables
Environment
Swift version 6.0-dev (LLVM 4ee06774aa7ace9, Swift 2944529)
Target: aarch64-none-none-elf
Additional information
No response
The text was updated successfully, but these errors were encountered:
phausler
added
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
labels
Aug 4, 2024
I added sources into my project so symbols got built within main target.
Here is a list of files I used:
Headers
CaseData.h
GraphemeData.h
NormalizationData.h
ScalarPropsData.h
ScriptData.h
SwiftStdbool.h
SwiftStdint.h
UnicodeData.h
Sources
UnicodeData.cpp
UnicodeGrapheme.cpp
UnicodeNormalization.cpp
UnicodeScalarProps.cpp
You may want to update/remove swift-specific macro in sources, but it's shouldn't be a problem.
So finally I've got string APIs working on esp32-riskv.
Hello @nonameplum , I used sources from official swift repo - https://github.com/swiftlang/swift.
I've added cpps as sources in CMakeLists and finally included .h files into bridging header file.
Description
Using
String
as a key to a dictionary results in missing symbols with no explained way to resolve:Reproduction
Expected behavior
at least there should be some description on how to link the NFD/NFC tables
Environment
Swift version 6.0-dev (LLVM 4ee06774aa7ace9, Swift 2944529)
Target: aarch64-none-none-elf
Additional information
No response
The text was updated successfully, but these errors were encountered: