* [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build
@ 2019-08-03 6:31 Bernd Kuhls
2019-08-03 6:31 ` [Buildroot] [PATCH 2/2] package/icu: Fix xtensa build Bernd Kuhls
2019-08-03 6:46 ` [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build Thomas Petazzoni
0 siblings, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2019-08-03 6:31 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
.../icu/0006-ICU-20751-Fix-nios2-build.patch | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 package/icu/0006-ICU-20751-Fix-nios2-build.patch
diff --git a/package/icu/0006-ICU-20751-Fix-nios2-build.patch b/package/icu/0006-ICU-20751-Fix-nios2-build.patch
new file mode 100644
index 0000000000..3b67df5bdb
--- /dev/null
+++ b/package/icu/0006-ICU-20751-Fix-nios2-build.patch
@@ -0,0 +1,36 @@
+From bfce346962841732f27f629c4f4661faa778f330 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sat, 3 Aug 2019 08:05:35 +0200
+Subject: [PATCH] ICU-20751 Fix nios2 build
+
+Solves build error
+
+In file included from double-conversion.h:42:0,
+ from number_decimalquantity.cpp:19:
+double-conversion-utils.h:119:2: error: #error Target architecture was not detected as supported by Double-Conversion.
+ #error Target architecture was not detected as supported by Double-Conversion.
+
+detected by buildroot autobuilders:
+http://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/
+
+[Bernd: Fixed path]
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ source/i18n/double-conversion-utils.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/source/i18n/double-conversion-utils.h b/source/i18n/double-conversion-utils.h
+index 1e44fcaa0e..0cf993929f 100644
+--- a/source/i18n/double-conversion-utils.h
++++ b/source/i18n/double-conversion-utils.h
+@@ -95,6 +95,7 @@ int main(int argc, char** argv) {
+ defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
+ defined(__hppa__) || defined(__ia64__) || \
+ defined(__mips__) || \
++ defined(__nios2__) || \
+ defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
+ defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
+ defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
+--
+2.20.1
+
--
2.20.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] package/icu: Fix xtensa build
2019-08-03 6:31 [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build Bernd Kuhls
@ 2019-08-03 6:31 ` Bernd Kuhls
2019-08-03 6:46 ` [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build Thomas Petazzoni
1 sibling, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2019-08-03 6:31 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/e6c/e6c6f826d8280f2bef923b3327d2a9a13ce2f7e1/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
.../icu/0007-ICU-20751-Fix-xtensa-build.patch | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 package/icu/0007-ICU-20751-Fix-xtensa-build.patch
diff --git a/package/icu/0007-ICU-20751-Fix-xtensa-build.patch b/package/icu/0007-ICU-20751-Fix-xtensa-build.patch
new file mode 100644
index 0000000000..494eeb1dc5
--- /dev/null
+++ b/package/icu/0007-ICU-20751-Fix-xtensa-build.patch
@@ -0,0 +1,35 @@
+From 8bb098a8d887939bf8eb41998c6ddfa847c12665 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sat, 3 Aug 2019 08:25:02 +0200
+Subject: [PATCH] ICU-20751 Fix xtensa build
+
+Solves build error
+In file included from double-conversion.h:42:0,
+ from number_decimalquantity.cpp:19:
+double-conversion-utils.h:119:2: error: #error Target architecture was not detected as supported by Double-Conversion.
+ #error Target architecture was not detected as supported by Double-Conversion.
+
+detected by buildroot autobuilders:
+http://autobuild.buildroot.net/results/e6c/e6c6f826d8280f2bef923b3327d2a9a13ce2f7e1/
+
+[Bernd: Fixed path]
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ source/i18n/double-conversion-utils.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/source/i18n/double-conversion-utils.h b/source/i18n/double-conversion-utils.h
+index 1e44fcaa0e..79816c7e05 100644
+--- a/source/i18n/double-conversion-utils.h
++++ b/source/i18n/double-conversion-utils.h
+@@ -103,6 +103,7 @@ int main(int argc, char** argv) {
+ defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
+ defined(__riscv) || \
+ defined(__or1k__) || defined(__arc__) || \
++ defined(__XTENSA__) || \
+ defined(__EMSCRIPTEN__)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(__mc68000__) || \
+--
+2.20.1
+
--
2.20.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build
2019-08-03 6:31 [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build Bernd Kuhls
2019-08-03 6:31 ` [Buildroot] [PATCH 2/2] package/icu: Fix xtensa build Bernd Kuhls
@ 2019-08-03 6:46 ` Thomas Petazzoni
2019-08-03 7:12 ` Bernd Kuhls
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2019-08-03 6:46 UTC (permalink / raw)
To: buildroot
Hello,
Thanks for looking into these.
On Sat, 3 Aug 2019 08:31:34 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> Fixes:
> http://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> .../icu/0006-ICU-20751-Fix-nios2-build.patch | 36 +++++++++++++++++++
> 1 file changed, 36 insertions(+)
> create mode 100644 package/icu/0006-ICU-20751-Fix-nios2-build.patch
>
> diff --git a/package/icu/0006-ICU-20751-Fix-nios2-build.patch b/package/icu/0006-ICU-20751-Fix-nios2-build.patch
> new file mode 100644
> index 0000000000..3b67df5bdb
> --- /dev/null
> +++ b/package/icu/0006-ICU-20751-Fix-nios2-build.patch
> @@ -0,0 +1,36 @@
> +From bfce346962841732f27f629c4f4661faa778f330 Mon Sep 17 00:00:00 2001
> +From: Bernd Kuhls <bernd.kuhls@t-online.de>
> +Date: Sat, 3 Aug 2019 08:05:35 +0200
> +Subject: [PATCH] ICU-20751 Fix nios2 build
What is ICU-20751 ? It's not clear if the patch comes from upstream or
not, since you are the author of patch.
Indeed, I see the nios2 and xtensa fixes are not the same, so I guess
they have a different double conversion behavior, but how did you
figure this out ?
If it's an upstream fix, could you share a link to it ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build
2019-08-03 6:46 ` [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build Thomas Petazzoni
@ 2019-08-03 7:12 ` Bernd Kuhls
2019-08-03 8:16 ` Thomas Petazzoni
0 siblings, 1 reply; 6+ messages in thread
From: Bernd Kuhls @ 2019-08-03 7:12 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Am Sat, 03 Aug 2019 08:46:52 +0200 schrieb Thomas Petazzoni:
> What is ICU-20751 ? It's not clear if the patch comes from upstream or
> not, since you are the author of patch.
ICU-20751 is the name of my bug report:
https://unicode-org.atlassian.net/browse/ICU-20751
The project mandats that patch subjects start with the name of the ticket:
http://site.icu-project.org/repository/gitdev
"Always prefix your commit statements with the Jira ticket number using
this pattern (including the space after the number; note: no colon):
ICU-23456 what I changed"
> Indeed, I see the nios2 and xtensa fixes are not the same, so I guess
> they have a different double conversion behavior, but how did you figure
> this out ?
Yes, the fix is the same, I split it into two pull requests, but they
patch the same part of the long ifdef statement and the project allows:
"You can have multiple pull requests per ticket."
> If it's an upstream fix, could you share a link to it ?
No, the patches are authored by me and sent upstream as pull requests.
Ah, and here is the point: I forgot to add the pull request URL to the
patches, sorry, sent v2.
Regards, Bernd
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build
2019-08-03 7:12 ` Bernd Kuhls
@ 2019-08-03 8:16 ` Thomas Petazzoni
2019-08-03 13:53 ` Bernd Kuhls
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2019-08-03 8:16 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 03 Aug 2019 09:12:35 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> Hi Thomas,
>
> Am Sat, 03 Aug 2019 08:46:52 +0200 schrieb Thomas Petazzoni:
>
> > What is ICU-20751 ? It's not clear if the patch comes from upstream or
> > not, since you are the author of patch.
>
> ICU-20751 is the name of my bug report:
> https://unicode-org.atlassian.net/browse/ICU-20751
>
> The project mandats that patch subjects start with the name of the ticket:
> http://site.icu-project.org/repository/gitdev
> "Always prefix your commit statements with the Jira ticket number using
> this pattern (including the space after the number; note: no colon):
> ICU-23456 what I changed"
>
> > Indeed, I see the nios2 and xtensa fixes are not the same, so I guess
> > they have a different double conversion behavior, but how did you figure
> > this out ?
>
> Yes, the fix is the same, I split it into two pull requests, but they
> patch the same part of the long ifdef statement and the project allows:
> "You can have multiple pull requests per ticket."
Thanks for sending the v2, but you did not reply to my question about
how you figure out what was the correct value for nios2 and xtensa,
since neither of these architectures are supported by double-conversion
upstream.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build
2019-08-03 8:16 ` Thomas Petazzoni
@ 2019-08-03 13:53 ` Bernd Kuhls
0 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2019-08-03 13:53 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Am Sat, 03 Aug 2019 10:16:55 +0200 schrieb Thomas Petazzoni:
> Thanks for sending the v2, but you did not reply to my question about
> how you figure out what was the correct value for nios2 and xtensa,
> since neither of these architectures are supported by double conversion
> upstream.
sent v3 for nios, tested double-conversion using qemu:
http://patchwork.ozlabs.org/patch/1141493/
Xtensa has no host-qemu support so I can not test it:
http://lists.busybox.net/pipermail/buildroot/2019-August/255940.html
Regards, Bernd
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-08-03 13:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-03 6:31 [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build Bernd Kuhls
2019-08-03 6:31 ` [Buildroot] [PATCH 2/2] package/icu: Fix xtensa build Bernd Kuhls
2019-08-03 6:46 ` [Buildroot] [PATCH 1/2] package/icu: Fix nios2 build Thomas Petazzoni
2019-08-03 7:12 ` Bernd Kuhls
2019-08-03 8:16 ` Thomas Petazzoni
2019-08-03 13:53 ` Bernd Kuhls
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.