[OpenWrt-Devel] mfloat-abi=soft

Rosen Penev rosenp at gmail.com
Sat Apr 13 17:08:38 EDT 2019


On Sat, Apr 13, 2019 at 7:07 AM Christian Lamparter <chunkeey at gmail.com> wrote:
>
> Cc'd: BangLang Huang <banglang.huang at foxmail.com>
>
> On Saturday, April 6, 2019 10:35:48 PM CEST Rosen Penev wrote:
> > According to rules.mk, -mfloat-abi=soft is used. This is causing build
> > failures with the botan library:
> >
> > https://downloads.openwrt.org/snapshots/faillogs/armeb_xscale/packages/botan/compile.txt
> >
> > Is it sensical to change the default to softfp, as the error message suggests?
> That's the error:
>
> #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softp or -mfloat-abi=hard"
>
> I think the best option would be to tell the package to disable neon in this
> case, just like ffmpeg is doing already. If you can test:
>
> ifeq ($(CONFIG_SOFT_FLOAT),y)
> CONFIGURE_ARGS += --disable-neon
> endif
That could work. I find it interesting that it's only the old ARM
architectures that are getting compilation errors.
>
> Cheers,
> Christian
>
>

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list