foss-for-synopsys-dwc-arc-processors / buildroot

The development tree for Buildroot support for the Synopsys DesignWare ARC processor family
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/blob/arc-dev/README.md
Other
7 stars 2 forks source link

package/libnspr: Add ARC64 support #25

Closed vkremneva closed 3 years ago

vkremneva commented 3 years ago

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.