libphobos on ARM

Matthew Caron Matt.Caron at redlion.net
Mon Jun 4 18:38:21 PDT 2012


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 libphobos with:

-march=armv5t -mfloat-abi=soft -fno-section-anchors

seems to fix it, now I just need to rebuild the whole toolchain the same 
way.

Sorry for the trouble, but thanks a lot for the help
-- 
Matthew Caron, Build Engineer
Sixnet, a Red Lion business | www.sixnet.com
+1 (518) 877-5173 x138 office


More information about the D.gnu mailing list