Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-31 Thread Luke Howard via swift-dev
As I think I mentioned before, you’ll probably have more luck porting the Apple runtime [1] to Linux than getting it to work with the GNUstep runtime. — Luke [1] http://opensource.apple.com/source/objc4/objc4-680/ > On 31 Mar 2016, at 6:02 AM, Iliya Trub via swift-dev > wrote: > > Of course,

Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-30 Thread Iliya Trub via swift-dev
Of course, I fully understand, that project is most likely hopeless. But for now I have some time to try. 30.03.2016, 20:34, "Joe Groff" : >>  On Mar 30, 2016, at 3:27 AM, Iliya Trub wrote: >> >>  I'd like to add, that I have overcomed "subject"error in very simple path. >> I indeed forgot to a

Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-30 Thread Joe Groff via swift-dev
> On Mar 30, 2016, at 3:27 AM, Iliya Trub wrote: > > I'd like to add, that I have overcomed "subject"error in very simple path. I > indeed forgot to add -fobjc-runtime=gnustep to all needed places. THIS error > disappeared, but the new error appeared: > > main2: dwarf/Gparser.c:456: fetch_pro

Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-30 Thread Iliya Trub via swift-dev
I'd like to add, that I have overcomed "subject"error in very simple path. I indeed forgot to add -fobjc-runtime=gnustep to all needed places. THIS error disappeared, but the new error appeared: main2: dwarf/Gparser.c:456: fetch_proc_info: Assertion `c->pi.unwind_info' failed Any opinions? I e

Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-29 Thread Iliya Trub via swift-dev
> The implementation of our ObjC interop makes pretty deep invasive assumptions > about the Apple ObjC runtime ABI as well as the implementation of classes in > Cocoa. It probably needs to be rewritten from the ground up to support > another runtime and Foundation implementation. > > -Joe Alas,

Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-29 Thread Joe Groff via swift-dev
> On Mar 29, 2016, at 1:03 PM, Iliya Trub via swift-dev > wrote: > > Dear colleagues > Ihave built swiftc, libswiftCore.so and other outputs under > armv7--linux-gnueabi with open source ObjC-runtime and enabled ObjC interop. > I linked the simplest swift-application, which creates the instan

Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-29 Thread Iliya Trub via swift-dev
I emitted with -fobjc-runtime=gnustep. 29.03.2016, 23:13, "Philippe Hausler" : > I would guess that you are emitting with the wrong runtime personality (iirc > linux defaults to fragile (objc1) GNU objc runtime). You might need to muck > about with flags, most notably -fobjc-runtime. That being

Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-29 Thread Daniel DeCovnick via swift-dev
I’d be interested in the patches. Daniel > On Mar 29, 2016, at 1:03 PM, Iliya Trub via swift-dev > wrote: > > Dear colleagues > Ihave built swiftc, libswiftCore.so and other outputs under > armv7--linux-gnueabi with open source ObjC-runtime and enabled ObjC interop. > I linked the simplest

Re: [swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-29 Thread Philippe Hausler via swift-dev
I would guess that you are emitting with the wrong runtime personality (iirc linux defaults to fragile (objc1) GNU objc runtime). You might need to muck about with flags, most notably -fobjc-runtime. That being said that path might be filled with other issues beyond just the layout differentials

[swift-dev] ObjC Interoperability under armv7--linux-gnueabi

2016-03-29 Thread Iliya Trub via swift-dev
Dear colleagues Ihave built swiftc, libswiftCore.so and other outputs under armv7--linux-gnueabi with open source ObjC-runtime and enabled ObjC interop. I linked the simplest swift-application, which creates the instance of custom ObjC-class and call instance-method of it. If somebody interested