[Buildroot] [PATCH v2] package/libnss: fix build failure on arm32 arch not armv7

Giulio Benetti giulio.benetti at benettiengineering.com
Sun Apr 5 17:13:10 UTC 2020


On 4/4/20 10:58 PM, Thomas Petazzoni wrote:
> On Fri,  3 Apr 2020 22:10:21 +0200
> Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:
> 
>> NSS assumes that every neon arm32 build is an armv7, but this is
>> not always true(i.e. build arm32 for armv8), so let's add a patch to
>> remove -march=armv7 flag when building gcm-arm32-neon.c
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/464/464044fda2850123339de6c8071374e380636ee0/
>>
>> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
>> ---
>> V1->V2:
>> * update with upstreamed patch:
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1624864
>> * improve commit log
>> ---
>>   ...t-force-ARMv7-for-gcm-arm32-neon-r-j.patch | 29 +++++++++++++++++++
>>   1 file changed, 29 insertions(+)
>>   create mode 100644 package/libnss/0002-Bug-1624864-Don-t-force-ARMv7-for-gcm-arm32-neon-r-j.patch
> 
> Applied to master with an updated reference to the upstream patch, as
> suggested by Peter Seiderer.

Thank you Thomas, unfortunately I didn't check very well and this makes 
build to fail because 0002 can't be applied over patch 0001. So for this 
I've sent another patch:
https://patchwork.ozlabs.org/patch/1266591/

Sorry for the noise

Best regards
-- 
Giulio Benetti
Benetti Engineering sas



More information about the buildroot mailing list