[OE-core] [PATCH] nss: 3.45 -> 3.47.1

Alexander Kanavin alex.kanavin at gmail.com
Fri Dec 13 15:20:40 UTC 2019


On Fri, 13 Dec 2019 at 15:46, Andreas Müller <schnitzeltony at gmail.com>
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 :-/

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20191213/4c145553/attachment.html>


More information about the Openembedded-core mailing list