------- Comment #3 from joseph at codesourcery dot com  2009-09-23 11:11 -------
Subject: Re:   New: libffi fails to build with -mfloat-abi=softfp

On Wed, 23 Sep 2009, doko at ubuntu dot com wrote:

> ../../../src/libffi/src/arm/sysv.S: Assembler messages:
> ../../../src/libffi/src/arm/sysv.S:203: Error: selected processor does not
> support `stfeqs f0,[r2]'

All the references to __SOFTFP__ in this file are incorrect for EABI; the 
__SOFTFP__ code should be used for *soft-float ABI* whether or not VFP is 
enabled, and __SOFTFP__ does specifically mean soft-float not soft-float 
ABI.

If you change the conditionals to __SOFTFP__ || __ARM_EABI__ then 
-mfloat-abi=softfp should work.  -mfloat-abi=hard won't; that would need 
both a new macro to identify the hard-VFP ABI, and new libffi code to 
handle that ABI.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41443

Reply via email to