Bug filed: https://bugs.swift.org/browse/SR-2309
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. I have time to work on it this week once there is a consensus on the approach. --dave From: Daniel Dunbar <daniel_dun...@apple.com> To: Chris Bailey <bail...@uk.ibm.com> Cc: David P Grove/Watson/IBM@IBMUS, "swift-corelibs-dev@swift.org" <swift-corelibs-dev@swift.org> Date: 08/03/2016 02:10 PM Subject: Re: [swift-corelibs-dev] Wrapping up Swift 3 for swift-corelibs Sent by: daniel_dun...@apple.com 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. - Daniel On Aug 1, 2016, at 3:08 AM, Chris Bailey <bail...@uk.ibm.com> wrote: 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. Chris From: David P Grove via swift-corelibs-dev < swift-corelibs-dev@swift.org> To: Swift corelibs dev <swift-corelibs-dev@swift.org> Date: 28/07/2016 18:50 Subject: Re: [swift-corelibs-dev] Wrapping up Swift 3 for swift-corelibs Sent by: swift-corelibs-dev-boun...@swift.org Tony Parker wrote on 07/28/2016 01:41:55 PM: > > 1. Integrate swift-corelibs-dispatch into Foundation. Hi Tony, 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... 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. 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. 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? --dave _______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
_______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev