When building with ARC64 for libnspr getting an error:
----------------------------------------->8-------------------------------------------
In file included from ../../../dist/include/nspr/prtypes.h:26,
from ../../../dist/include/nspr/pratom.h:14,
from ../../../dist/include/nspr/nspr.h:9,
from ../../../pr/include/private/primpl.h:27,
from prfdcach.c:6:
../../../dist/include/nspr/prcpucfg.h:1260:2: error: #error "Unknown CPU architecture"
1260 | #error "Unknown CPU architecture"
| ^~~~~
----------------------------------------->8-------------------------------------------
When building with ARC64 for libnspr getting an error:
----------------------------------------->8------------------------------------------- In file included from ../../../dist/include/nspr/prtypes.h:26, from ../../../dist/include/nspr/pratom.h:14, from ../../../dist/include/nspr/nspr.h:9, from ../../../pr/include/private/primpl.h:27, from prfdcach.c:6: ../../../dist/include/nspr/prcpucfg.h:1260:2: error: #error "Unknown CPU architecture" 1260 | #error "Unknown CPU architecture" | ^~~~~ ----------------------------------------->8-------------------------------------------
More failures here: http://ru20arcgnu1:8080/?reason=libnspr-4.32
To add support for ARC64 Bugzilla report was filed: https://bugzilla.mozilla.org/show_bug.cgi?id=1732938
This PR adds patch for our Buildroot so we can build libnspr in the meantime.