Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] mpir: fix ARM, PowerPC and mips builds failure
       [not found] <mpir: fix ARM, PowerPC64 and MIPS build failure>
@ 2017-05-07 17:43 ` Semyon Kolganov
  2017-05-07 17:43   ` Semyon Kolganov
  0 siblings, 1 reply; 3+ messages in thread
From: Semyon Kolganov @ 2017-05-07 17:43 UTC (permalink / raw)
  To: buildroot

Semyon Kolganov (1):
  mpir: fix ARM, PowerPC and mips builds failure

 package/mpir/mpir.mk | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.7.4

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

* [Buildroot] [PATCH] mpir: fix ARM, PowerPC and mips builds failure
  2017-05-07 17:43 ` [Buildroot] [PATCH] mpir: fix ARM, PowerPC and mips builds failure Semyon Kolganov
@ 2017-05-07 17:43   ` Semyon Kolganov
  2017-05-07 19:38     ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Semyon Kolganov @ 2017-05-07 17:43 UTC (permalink / raw)
  To: buildroot

 * ARM
     http://autobuild.buildroot.net/results/fd0/fd032f7dbd4cace84bb31e8017cb6139ef3c1072
     http://autobuild.buildroot.net/results/c36/c360581c2925529f18635aac32c2865899f5e0f5

 * MIPS
     http://autobuild.buildroot.net/results/c45/c45dd59f10693b0d9a86dac4733c6c3dde4554f1

 * PowerPC64
      http://autobuild.buildroot.net/results/be1/be1478836b2e7b580174641f48de92c9b02512a7

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
---
 package/mpir/mpir.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/mpir/mpir.mk b/package/mpir/mpir.mk
index b7f3829..420d065 100644
--- a/package/mpir/mpir.mk
+++ b/package/mpir/mpir.mk
@@ -12,6 +12,9 @@ MPIR_LICENSE_FILES = COPYING.LIB
 MPIR_INSTALL_STAGING = YES
 MPIR_DEPENDENCIES = gmp host-yasm
 
+# Prefer generic build
+MPIR_CONF_ENV += MPN_PATH=generic
+
 ifeq ($(BR2_MIPS_NABI32),y)
 MPIR_CONF_OPTS += ABI=n32
 endif
-- 
2.7.4

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

* [Buildroot] [PATCH] mpir: fix ARM, PowerPC and mips builds failure
  2017-05-07 17:43   ` Semyon Kolganov
@ 2017-05-07 19:38     ` Thomas Petazzoni
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-05-07 19:38 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun,  7 May 2017 20:43:04 +0300, Semyon Kolganov wrote:

> +# Prefer generic build
> +MPIR_CONF_ENV += MPN_PATH=generic

I think this is really wrong, because it will use in all cases the
non-optimized generic code, instead of the more optimized assembly code
available for a number of architectures:

$ ls mpn/
alpha  arm  asm-defs.m4  cpp-ccas  generic  ia64  m4-ccas  Makeasm.am  Makefile.am  Makefile.in  mips32  mips64  powerpc32  powerpc64  README  sparc32  sparc64  x86  x86_64  x86_64w  x86w

Best regards,

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

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

end of thread, other threads:[~2017-05-07 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mpir: fix ARM, PowerPC64 and MIPS build failure>
2017-05-07 17:43 ` [Buildroot] [PATCH] mpir: fix ARM, PowerPC and mips builds failure Semyon Kolganov
2017-05-07 17:43   ` Semyon Kolganov
2017-05-07 19:38     ` Thomas Petazzoni

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