Re: libphobos on ARM

2012-06-14 Thread Johannes Pfau
Am Wed, 13 Jun 2012 17:24:18 +0100 schrieb Iain Buclaw : > > I can check this, but the side of the issue when I checked some time > ago I saw was that the initialiser is a typeless constructor that is > raw casted into the type we are assigning it to, so one bad factor of > that is we are relyin

Re: libphobos on ARM

2012-06-13 Thread Iain Buclaw
On 13 June 2012 15:44, Johannes Pfau wrote: > Am Mon, 11 Jun 2012 18:30:37 +0100 > schrieb Iain Buclaw : >> >> There are two things under my general consensus for this: >> >> 1. would be to re-implement dfrontend/todt.c entirely, so that we >> produce GCC trees directly from the toDt routines, rat

Re: libphobos on ARM

2012-06-13 Thread Johannes Pfau
Am Mon, 11 Jun 2012 18:30:37 +0100 schrieb Iain Buclaw : > > There are two things under my general consensus for this: > > 1. would be to re-implement dfrontend/todt.c entirely, so that we > produce GCC trees directly from the toDt routines, rather than the > dmd's intermediate backend representa

Re: libphobos on ARM

2012-06-11 Thread Trass3r
And I guess 1 means a lot more work but would be the better option apart from that?!

Re: libphobos on ARM

2012-06-11 Thread Iain Buclaw
On 11 June 2012 17:58, Johannes Pfau wrote: > Am Mon, 4 Jun 2012 07:31:59 -0400 > schrieb Matthew Caron : > >> Judging by: >> >> https://bitbucket.org/goshawk/gdc/issue/120/fsection-anchors-broken-on-arm >> >> (specifically >> https://bitbucket.org/goshawk/gdc/issue/120/fsection-anchors-broken-on-

Re: libphobos on ARM

2012-06-11 Thread Johannes Pfau
Am Mon, 4 Jun 2012 07:31:59 -0400 schrieb Matthew Caron : > Judging by: > > https://bitbucket.org/goshawk/gdc/issue/120/fsection-anchors-broken-on-arm > > (specifically > https://bitbucket.org/goshawk/gdc/issue/120/fsection-anchors-broken-on-arm#comment-686378), > > I thought that was fixed.

Re: libphobos on ARM

2012-06-04 Thread Matthew Caron
On 06/04/2012 12:17 PM, Andrew Wiley wrote: You're faulting on a VFP instruction. What hardware are you trying to target, and what is the output of `gdc -v` and `gcc -v` ? D'oh, that was it. It's compiled with softfp, and I'm on an armv5 with no hardware floating point. Recompiling libphobo

Re: libphobos on ARM

2012-06-04 Thread Andrew Wiley
On Mon, Jun 4, 2012 at 4:31 AM, Matthew Caron wrote: > On 06/01/2012 10:13 PM, Andrew Wiley wrote: > >> On Fri, Jun 1, 2012 at 3:24 PM, Alex Rønne Petersen > > wrote: >>Please try building libphobos and libdruntime with >> -fno-section-anchors. >> >> >> You certainly nee

Re: libphobos on ARM

2012-06-04 Thread Matthew Caron
On 06/01/2012 10:13 PM, Andrew Wiley wrote: On Fri, Jun 1, 2012 at 3:24 PM, Alex Rønne Petersen mailto:a...@lycus.org>> wrote: Please try building libphobos and libdruntime with -fno-section-anchors. You certainly need to do this, but -O0 means that section-anchors optimization is turned of

Re: libphobos on ARM

2012-06-01 Thread Andrew Wiley
On Fri, Jun 1, 2012 at 3:24 PM, Alex Rønne Petersen wrote: > On 01-06-2012 23:05, Matthew Caron wrote: > >> Hey folks, >> >> So, I've used the instructions and code here: >> >> https://bitbucket.org/goshawk/**gdc/wiki/crosstool-ng >> >> to buil

Re: libphobos on ARM

2012-06-01 Thread Alex Rønne Petersen
On 01-06-2012 23:05, Matthew Caron wrote: Hey folks, So, I've used the instructions and code here: https://bitbucket.org/goshawk/gdc/wiki/crosstool-ng to build a gdc for ARM. I've written up a simple "Hello world" and I get an Illegal Instruction when executing on my ARM Linux EABI system. G

libphobos on ARM

2012-06-01 Thread Matthew Caron
Hey folks, So, I've used the instructions and code here: https://bitbucket.org/goshawk/gdc/wiki/crosstool-ng to build a gdc for ARM. I've written up a simple "Hello world" and I get an Illegal Instruction when executing on my ARM Linux EABI system. GDB says (edited to remove standard stuff)