On Fri, Dec 13, 2019 at 7:21 AM Alexander Kanavin <[email protected]> wrote: > > On Fri, 13 Dec 2019 at 15:46, Andreas Müller <[email protected]> wrote: >> >> >> Fails on beaglebone: >> >> >> >> https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/1327 >> > >> > >> > I had a look into this: the issue is that new versions of nss require >> > hardware crypto capabilities on ARM (both 32 and 64 bit). >> Do you have an link for this? > > > Yes. We are using plain Makefiles to build (and not gyp), so the link is: > > https://github.com/nss-dev/nss/blob/4703a817f8b90cc3423620e5c7606bdbcedbcf2e/lib/freebl/Makefile#L782 > >> >> I think we should not do that because: >> >> Build log says: >> | cc1: error: switch '-mcpu=cortex-a8' conflicts with '-march=armv8-a' >> switch [-Werror] >> | cc1: all warnings being treated as errors >> >> Nss sets '-march=armv8-a'. Checked in their sources and found that >> this is done in lib/freebl source path [1]. With latests sources from >> gihub-shadow they introduced 'disable_arm_hw_aes' [1]. Have no idea if >> 3.47.1 already supports that but we should use it as packageconfig. > > > This option is only available with gyp, and not plain Makefiles > unfortunately. And the way I read it, > it's not actually possible to disable :-/ >
nss is used in quite a few apps, and disabling armv7a is not a good option, plus hw crypto is only in armv8 thing. > Alex > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
