Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Joe Groff via swift-users
We discovered a problem recently where we would miscompile when imported ObjC lightweight generic classes are extended to conform to Swift protocols. This is being tracked by Apple as rdar://problem/28873860 , for reference, and should be release noted in upcoming Xcode seeds. If you happen to

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Rien via swift-users
I had a similar problem with Xcode 7.2. The work around I found then was to remove all source files from the project in the “target membership” except for the main.swift file. Then compile again, which will (of course) fail with normal errors. Then I added the files back in, presto, no more segmen

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Evan Maloney via swift-users
This is definitely not my first time hitting Swift compiler crashes :) In the past, the stack traces have been helpful, pointing to what code the compiler was working on when it crashed. Unfortunately, this latest crash doesn't fall into that category: CompileSwift normal x86_64 /Users/emalone

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Jon Shier via swift-users
With Swift 3 I’ve found these crashes to be indicative of an underlying source issue rather than something random in the compiler. When you get the crash, can you get the backtrace in the Xcode build log? Sometimes that has clues about what it was doing when it crashed. A lot of the time when th

[swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Evan Maloney via swift-users
After a gargantuan effort updating our entire codebase to Swift 3.0, we are now being greeted with "Segmentation fault: 11" compiler crash whenever attempting to build. The issue seems to be related to generics, and sounds similar to this issue: http://stackoverflow.com/questions/39426

Re: [swift-users] Swift 3 on centos 7

2016-10-21 Thread Ron Olson via swift-users
I built an RPM with Swift 3-RELEASE; the RPM build info is at https://github.com/tachoknight/swift-rpm. I don't use CentOS myself but it'd be interesting to know if it works or not. Suffice to say, my repo is very unofficial. :) Ron On 21 Oct 2016, at 7:54, Leonid Orsulic via swift-users wr

[swift-users] Swift 3 on centos 7

2016-10-21 Thread Leonid Orsulic via swift-users
Hello, is it somehow possible to get Swift 3 to centos 7? Maybe any plannings for an official way of setting up swift on centos? If not, i would also appreciate an unofficial way. Thanks Regards Leo ___ swift-users mailing list swift-users@swift.org