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
swift-ci opened this issue
Apr 3, 2016
· 0 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfCygwinWindowsPlatform: Windows
When linking without -O option on Cygwin, libswiftSwiftOnoneSupport.dll.a is not automatically linked. ( ./swiftc -O Hello.swift is working. )
$ ./swiftc Hello.swift
/tmp/Hello-f99214.o:(.text+0x5f): undefined reference to `_TTSg5P____TFs27_allocateUninitializedArrayurFBwTGSax_Bp_'
collect2: error: ld returned 1 exit status
clang-3.7: error: linker (via gcc) 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)
The auto link information is well stored to the compiled object file on Cygwin. But swift-autolink-extraction is not worked for COFF.
The text was updated successfully, but these errors were encountered:
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfCygwinWindowsPlatform: Windows
Environment
Cygwin x64
Additional Detail from JIRA
md5: 04ff3ec6cb765e78b184cb4cc06493a9
Issue Description:
When linking without -O option on Cygwin,
libswiftSwiftOnoneSupport.dll.a
is not automatically linked. ( ./swiftc -O Hello.swift is working. )The auto link information is well stored to the compiled object file on Cygwin. But swift-autolink-extraction is not worked for COFF.
The text was updated successfully, but these errors were encountered: