Skip to content

Commit 80eb4a9

Browse files
[overlay] magic-symbols-for-install-name conflicts with @_originallyDefinedIn
The _Builtin_float interfaces were defined in $@rpath/lib/libswiftDarwin.dylib until macOS 10.14.4 and then in usr/lib/swift/libswiftDarwin.dylib after that. We were trying to use magic-symbols-for-install-name for the first one and @_originallyDefinedIn for the second one. However, @_originallyDefinedIn uses the @available introduced version as the first bound for $ld$previous$ which conflicts with the magic-symbols-for-install-name $ld$install_name$. Eventually @_originallyDefinedIn will need to support multiple install names, but until then just use it as-is and stop using magic-symbols-for-install-name. rdar://122351557
1 parent 0a2ec68 commit 80eb4a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/public/ClangOverlays/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ add_swift_target_library(swift_Builtin_float
22
${SWIFT_STDLIB_LIBRARY_BUILD_TYPES}
33
IS_SDK_OVERLAY
44

5-
"${SWIFT_SOURCE_DIR}/stdlib/linker-support/magic-symbols-for-install-name.c"
6-
75
GYB_SOURCES
86
float.swift.gyb
97

0 commit comments

Comments
 (0)