Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] polarssl: disable microblaze inline assembly
@ 2014-07-30 18:56 Gustavo Zacarias
  2014-07-30 21:51 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2014-07-30 18:56 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 .../polarssl/polarssl-02-disable-microblaze-asm.patch  | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/polarssl/polarssl-02-disable-microblaze-asm.patch

diff --git a/package/polarssl/polarssl-02-disable-microblaze-asm.patch b/package/polarssl/polarssl-02-disable-microblaze-asm.patch
new file mode 100644
index 0000000..e90e12d
--- /dev/null
+++ b/package/polarssl/polarssl-02-disable-microblaze-asm.patch
@@ -0,0 +1,18 @@
+Microblaze assembly seems to be broken, fixes:
+
+http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura polarssl-1.2.11.orig/include/polarssl/bn_mul.h polarssl-1.2.11/include/polarssl/bn_mul.h
+--- polarssl-1.2.11.orig/include/polarssl/bn_mul.h	2014-07-30 15:47:27.381658434 -0300
++++ polarssl-1.2.11/include/polarssl/bn_mul.h	2014-07-30 15:48:52.616543074 -0300
+@@ -480,7 +480,7 @@
+ 
+ #endif /* SPARCv8 */
+ 
+-#if defined(__microblaze__) || defined(microblaze)
++#if 0 && defined(__microblaze__) || defined(microblaze)
+ 
+ #define MULADDC_INIT                    \
+     asm(                                \
-- 
1.8.5.5

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

* [Buildroot] [PATCH] polarssl: disable microblaze inline assembly
  2014-07-30 18:56 [Buildroot] [PATCH] polarssl: disable microblaze inline assembly Gustavo Zacarias
@ 2014-07-30 21:51 ` Thomas Petazzoni
  2014-07-30 21:53   ` Gustavo Zacarias
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2014-07-30 21:51 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Wed, 30 Jul 2014 15:56:14 -0300, Gustavo Zacarias wrote:
> Fixes:
> http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  .../polarssl/polarssl-02-disable-microblaze-asm.patch  | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 package/polarssl/polarssl-02-disable-microblaze-asm.patch

Applied. But could you report this issue upstream so that it hopefully
gets fixed in the future? They have a github issue tracker, so it
should be pretty easy to do.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] polarssl: disable microblaze inline assembly
  2014-07-30 21:51 ` Thomas Petazzoni
@ 2014-07-30 21:53   ` Gustavo Zacarias
  0 siblings, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2014-07-30 21:53 UTC (permalink / raw)
  To: buildroot

On 07/30/2014 06:51 PM, Thomas Petazzoni wrote:

> Applied. But could you report this issue upstream so that it hopefully
> gets fixed in the future? They have a github issue tracker, so it
> should be pretty easy to do.

Yes, i'm doing some more testing to see why/if it can be fixed but my
microblaze assembly knowledge is close to NULL (i guess upstream is as
well since they've disabled SPARC V9 assembly because of similar issues).
Once that's exhausted i'll post an updated fix or just report the
breakage upstream if it's beyond me.
Regards.

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

end of thread, other threads:[~2014-07-30 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 18:56 [Buildroot] [PATCH] polarssl: disable microblaze inline assembly Gustavo Zacarias
2014-07-30 21:51 ` Thomas Petazzoni
2014-07-30 21:53   ` Gustavo Zacarias

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