Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/python-ujson: fix or1k build
@ 2021-10-15 19:38 Fabrice Fontaine
  2021-10-15 19:38 ` [Buildroot] [PATCH 2/4] package/python-ujson: fix arc build Fabrice Fontaine
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2021-10-15 19:38 UTC (permalink / raw)
  To: buildroot
  Cc: Mauro Condarelli, Fabrice Fontaine, Thomas Petazzoni, Asaf Kahlon

Fix the follownig build failure on or1k since bump to version 4.1.0 in
commit a47f332a20bf3f79ef4903c8ddd2b7917217e354 and
https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a:

In file included from ./deps/double-conversion/double-conversion/bignum-dtoa.h:31,
                 from ./deps/double-conversion/double-conversion/bignum-dtoa.cc:30:
./deps/double-conversion/double-conversion/utils.h:92:2: error: #error Target architecture was not detected as supported by Double-Conversion.
   92 | #error Target architecture was not detected as supported by Double-Conversion.
      |  ^~~~~

Fixes:
 - http://autobuild.buildroot.org/results/a82f794f130b0c8d5d626c507bae2e22d15f801b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...for-aarch64_be-or1k-and-microblazebe.patch | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch

diff --git a/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch b/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch
new file mode 100644
index 0000000000..b43eb54dcd
--- /dev/null
+++ b/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch
@@ -0,0 +1,30 @@
+From 768a445f0c28311bf88685bf0bb990505c12fd4c Mon Sep 17 00:00:00 2001
+From: Florian Loitsch <florian@loitsch.com>
+Date: Sat, 8 Sep 2018 18:18:15 +0200
+Subject: [PATCH] Add support for aarch64_be, or1k and microblazebe.
+
+Fixes #73.
+
+[Retrieved from:
+https://github.com/google/double-conversion/commit/768a445f0c28311bf88685bf0bb990505c12fd4c]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ double-conversion/utils.h | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/deps/double-conversion/ouble-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h
+index 98a2a11..492bc97 100644
+--- a/deps/double-conversion/double-conversion/utils.h
++++ b/deps/double-conversion/double-conversion/utils.h
+@@ -76,8 +76,9 @@ inline void abort_noreturn() { abort(); }
+     defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
+     defined(__SH4__) || defined(__alpha__) || \
+     defined(_MIPS_ARCH_MIPS32R2) || \
+-    defined(__AARCH64EL__) || defined(__aarch64__) || \
+-    defined(__riscv)
++    defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
++    defined(__riscv) || \
++    defined(__or1k__)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(__mc68000__) || \
+     defined(__pnacl__) || defined(__native_client__)
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-16  7:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-15 19:38 [Buildroot] [PATCH 1/4] package/python-ujson: fix or1k build Fabrice Fontaine
2021-10-15 19:38 ` [Buildroot] [PATCH 2/4] package/python-ujson: fix arc build Fabrice Fontaine
2021-10-15 19:39 ` [Buildroot] [PATCH 3/4] package/python-ujson: fix microblaze build Fabrice Fontaine
2021-10-15 19:39 ` [Buildroot] [PATCH 4/4] package/python-ujson: fix xtensa build Fabrice Fontaine
2021-10-16  7:39 ` [Buildroot] [PATCH 1/4] package/python-ujson: fix or1k build Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox