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: pragma attribute syntax

2012-06-04 Thread Artur Skawina
On 06/04/12 23:49, Iain Buclaw wrote: > On 4 June 2012 21:53, Artur Skawina wrote: >> On 06/04/12 21:48, Iain Buclaw wrote: >>> On 4 June 2012 19:49, Artur Skawina wrote: Would it be possible to allow give the gcc attribute as a string? So that it would be possible to express 'pragma(at

Re: pragma attribute syntax

2012-06-04 Thread Iain Buclaw
On 4 June 2012 21:53, Artur Skawina wrote: > On 06/04/12 21:48, Iain Buclaw wrote: >> On 4 June 2012 19:49, Artur Skawina wrote: >>> Would it be possible to allow give the gcc attribute as a string? >>> So that it would be possible to express 'pragma(attribute, align(8))' etc >>> >>> Because righ

Re: pragma attribute syntax

2012-06-04 Thread Artur Skawina
On 06/04/12 21:48, Iain Buclaw wrote: > On 4 June 2012 19:49, Artur Skawina wrote: >> Would it be possible to allow give the gcc attribute as a string? >> So that it would be possible to express 'pragma(attribute, align(8))' etc >> >> Because right now you can not do this: >> >> pragma(attribute

Re: pragma attribute syntax

2012-06-04 Thread Iain Buclaw
On 4 June 2012 19:49, Artur Skawina wrote: > Would it be possible to allow give the gcc attribute as a string? > So that it would be possible to express 'pragma(attribute, align(8))' etc > > Because right now you can not do this: > >   pragma(attribute, pure) >   pragma(attribute, const) > > And I

pragma attribute syntax

2012-06-04 Thread Artur Skawina
Would it be possible to allow give the gcc attribute as a string? So that it would be possible to express 'pragma(attribute, align(8))' etc Because right now you can not do this: pragma(attribute, pure) pragma(attribute, const) And I just realized that i need these attributes. :) Somethin

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