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-1128] autolink extraction does not work on Cygwin #43741

Closed
swift-ci opened this issue Apr 3, 2016 · 0 comments
Closed

[SR-1128] autolink extraction does not work on Cygwin #43741

swift-ci opened this issue Apr 3, 2016 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself Cygwin Windows Platform: Windows

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Apr 3, 2016

Previous ID SR-1128
Radar None
Original Reporter tinysun (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

Cygwin x64

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Cygwin, Windows
Assignee None
Priority Medium

md5: 04ff3ec6cb765e78b184cb4cc06493a9

Issue Description:

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.

@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 Cygwin Windows Platform: Windows
Projects
None yet
Development

No branches or pull requests

1 participant