[oe] "armv6" override not used
Phil Blundell
pb at reciva.com
Wed Jan 14 14:44:20 UTC 2009
On Wed, 2009-01-14 at 14:51 +0100, Robert Schuster wrote:
> it is related to GCC: Although -mfloat-abi=vfp is given __SOFTFP__ is
> not defined and that is required for libffi because otherwise the sysv.S
> assembler file uses instructions not available any more on armv6/armv7.
That sounds more like libffi is to blame. Shouldn't it be checking for
(defined(__SOFT_FP__) || defined(__VFP_FP__))? Or, if you really are
using soft-float, then presumably gcc is to blame for not defining
__SOFT_FP__.
Either way, it seems like whichever package is broken should just be
fixed, rather than trying to work around it with architecture-specific
CFLAGS forcing. Assuming that the problem is libffi trying to use FPA
instructions #ifndef __SOFT_FP__, then it will break on ARMv5
architectures as well if you happen to be using VFP.
p.
More information about the Openembedded-devel
mailing list