<html><body><p>Bug filed: <a href="https://bugs.swift.org/browse/SR-2309">https://bugs.swift.org/browse/SR-2309</a><br><br>I've prototyped potential solution #2 this morning (embedding yet another copy of the blocks runtime into libdispatch). I need to do a little cleanup of the build plumbing, but it is workable.<br><br>I have time to work on it this week once there is a consensus on the approach.<br><br>--dave<br><br><br><img width="16" height="16" src="cid:1__=0ABB0A99DFF73C7B8f9e8a93df938690918c0AB@" border="0" alt="Inactive hide details for Daniel Dunbar ---08/03/2016 02:10:25 PM---Can someone file a bug to track how we are going to resolve"><font color="#424282">Daniel Dunbar ---08/03/2016 02:10:25 PM---Can someone file a bug to track how we are going to resolve this issue, and outline our options? I w</font><br><br><font size="2" color="#5F5F5F">From: </font><font size="2">Daniel Dunbar <daniel_dunbar@apple.com></font><br><font size="2" color="#5F5F5F">To: </font><font size="2">Chris Bailey <BAILEYC@uk.ibm.com></font><br><font size="2" color="#5F5F5F">Cc: </font><font size="2">David P Grove/Watson/IBM@IBMUS, "swift-corelibs-dev@swift.org" <swift-corelibs-dev@swift.org></font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">08/03/2016 02:10 PM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">Re: [swift-corelibs-dev] Wrapping up Swift 3 for swift-corelibs</font><br><font size="2" color="#5F5F5F">Sent by: </font><font size="2">daniel_dunbar@apple.com</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font size="4">Can someone file a bug to track how we are going to resolve this issue, and outline our options? I want to make sure we have enough eyes on it to make sure we get what we need for Swift 3.</font><br><br><font size="4"> - Daniel</font><br>
<ul><ul><font size="4">On Aug 1, 2016, at 3:08 AM, Chris Bailey <</font><a href="mailto:BAILEYC@uk.ibm.com"><u><font size="4" color="#0000FF">BAILEYC@uk.ibm.com</font></u></a><font size="4">> wrote:</font><br><br>I had a quick conversation with Daniel Dunbar on this. Adding -Xcc -fblocks as a default option to Swift PM (on Linux). The wrinkle is the availability of the blocks runtime - it would either need to become a pre-req for Swift, or needs one to be built into the package.<font size="4"> <br></font><br>Chris<font size="4"><br><br><br><br></font><font size="2" color="#5F5F5F"><br>From: </font><font size="2">David P Grove via swift-corelibs-dev <</font><a href="mailto:swift-corelibs-dev@swift.org"><u><font size="2" color="#0000FF">swift-corelibs-dev@swift.org</font></u></a><font size="2">></font><font size="4"> </font><font size="2" color="#5F5F5F"><br>To: </font><font size="2">Swift corelibs dev <</font><a href="mailto:swift-corelibs-dev@swift.org"><u><font size="2" color="#0000FF">swift-corelibs-dev@swift.org</font></u></a><font size="2">></font><font size="4"> </font><font size="2" color="#5F5F5F"><br>Date: </font><font size="2">28/07/2016 18:50</font><font size="4"> </font><font size="2" color="#5F5F5F"><br>Subject: </font><font size="2">Re: [swift-corelibs-dev] Wrapping up Swift 3 for swift-corelibs</font><font size="4"> </font><font size="2" color="#5F5F5F"><br>Sent by: </font><a href="mailto:swift-corelibs-dev-bounces@swift.org"><u><font size="2" color="#0000FF">swift-corelibs-dev-bounces@swift.org</font></u></a><font size="4"> <br></font><hr width="100%" size="2" align="left" noshade><font size="4"><br><br></font><tt><font size="4"><br>Tony Parker wrote on 07/28/2016 01:41:55 PM:<br>> <br>> 1. Integrate swift-corelibs-dispatch into Foundation.<br><br>Hi Tony,<br><br>Hopefully this is on the task list already, but if it isn't we should add it before it gets to be too late to change the compiler...<br><br>When compiling a Swift program on Linux that imports Dispatch (or Foundation once the integration is done), the user has to give the extra compilation flags -Xcc -fblocks to enable block support.<br><br>We really need to land a change somewhere so that either (1) blocks support is always on for Linux or (2) importing Dispatch or Foundation automatically turns on blocks support.<br><br>I have some time today and tomorrow that I could use to work on this if no one is handling it already, but I'm not sure how best to tackle the problem. Suggestions?<br><br>--dave</font></tt><tt><br>_______________________________________________<br>swift-corelibs-dev mailing list</tt><tt><u><font color="#0000FF"><br></font></u></tt><a href="mailto:swift-corelibs-dev@swift.org"><tt><u><font color="#0000FF">swift-corelibs-dev@swift.org</font></u></tt></a><u><font size="4" color="#0000FF"><br></font></u><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev"><tt><u><font color="#0000FF">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</font></u></tt></a><font size="4"><br><br></font></ul></ul><br><br><BR>
</body></html>