Skip to content

Conversation

bob-wilson
Copy link
Contributor

This fixes the -static-executable part of the problem reported in
SR-7038 (rdar://problem/37710244).

This fixes the -static-executable part of the problem reported in
SR-7038 (rdar://problem/37710244).
@bob-wilson
Copy link
Contributor Author

This is sufficient to link a "hello" program with -static-executable. The result runs. I don't know if this is really correct, though.

@bob-wilson
Copy link
Contributor Author

@swift-ci please test

@compnerd
Copy link
Member

compnerd commented Mar 2, 2018

This actually is currently correct. The problem is that the ImageInspectionELF content is removed from the runtime which requires that we do this horrible thing. I think that the ship has sailed on the 4.1 release sadly. We can fix this properly in 5.0 by merging this back into the runtime and avoiding the secondary library.

@swift-ci
Copy link
Contributor

swift-ci commented Mar 2, 2018

Build failed
Swift Test OS X Platform
Git Sha - cc06156

@bob-wilson
Copy link
Contributor Author

@swift-ci Please smoke test OS X platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants