<div dir="ltr"><div dir="ltr">On Fri, 13 Dec 2019 at 15:46, Andreas Müller &lt;<a href="mailto:schnitzeltony@gmail.com">schnitzeltony@gmail.com</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
&gt;&gt; Fails on beaglebone:<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/1327" rel="noreferrer" target="_blank">https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/1327</a><br>
&gt;<br>
&gt;<br>
&gt; 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).<br>
Do you have an link for this?<br></blockquote><div><br></div><div>Yes. We are using plain Makefiles to build (and not gyp), so the link is:</div><div><br></div><div><a href="https://github.com/nss-dev/nss/blob/4703a817f8b90cc3423620e5c7606bdbcedbcf2e/lib/freebl/Makefile#L782">https://github.com/nss-dev/nss/blob/4703a817f8b90cc3423620e5c7606bdbcedbcf2e/lib/freebl/Makefile#L782</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think we should not do that because:<br>
<br>
Build log says:<br>
| cc1: error: switch &#39;-mcpu=cortex-a8&#39; conflicts with &#39;-march=armv8-a&#39;<br>
switch [-Werror]<br>
| cc1: all warnings being treated as errors<br>
<br>
Nss sets &#39;-march=armv8-a&#39;. Checked in their sources and found that<br>
this is done in lib/freebl source path [1]. With latests sources from<br>
gihub-shadow they introduced &#39;disable_arm_hw_aes&#39; [1]. Have no idea if<br>
3.47.1 already supports that but we should use it as packageconfig.<br></blockquote><div><br></div><div>This option is only available with gyp, and not plain Makefiles unfortunately. And the way I read it,</div><div>it&#39;s not actually possible to disable :-/</div><div><br></div><div>Alex<br></div></div></div>