Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Mauro Condarelli <mc5686@mclink.it>,
	Asaf Kahlon <asafka7@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/4] package/python-ujson: fix or1k build
Date: Sat, 16 Oct 2021 09:39:55 +0200	[thread overview]
Message-ID: <20211016073955.GC4165837@scaer> (raw)
In-Reply-To: <20211015193901.1543587-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2021-10-15 21:38 +0200, Fabrice Fontaine spake thusly:
> 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>

Series of 4 patches applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  ...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

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2021-10-16  7:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211016073955.GC4165837@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=asafka7@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=mc5686@mclink.it \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox