All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Building for Raspberry Pi on Pi (in Ubuntu WSL same is working)
Date: Mon, 24 Aug 2020 22:19:03 +0200	[thread overview]
Message-ID: <20200824221903.167aeb55@windsurf.home> (raw)
In-Reply-To: <VI1PR03MB4528407221D0FA62FAF6E2AC98560@VI1PR03MB4528.eurprd03.prod.outlook.com>

Hello Marie,

On Mon, 24 Aug 2020 14:09:01 +0000
Marie Maurer <marie.maurer@pixida.de> wrote:

> /usr/bin/gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_divrem_1 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -Wa,--noexecstack tmp-divrem_1.s -fPIC -DPIC -o .libs/divrem_1.o
> tmp-divrem_1.s: Assembler messages:
> tmp-divrem_1.s:129: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
> tmp-divrem_1.s:145: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
> tmp-divrem_1.s:158: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
> tmp-divrem_1.s:175: Error: selected processor does not support `mls r1,r4,r3,r8' in ARM mode
> tmp-divrem_1.s:209: Error: selected processor does not support `mls r11,r4,r12,r3' in ARM mode

So this means that the GMP build system thinks your CPU supports the
MLS instruction (which exists since ARMv6T2), but in fact the gcc on
your system says it is not available.

I would suggest to have a look at how GMP detects which optimized ARM
code to use in mpn/arm/ as this is probably where the issue is.

Could you try with GMP 6.2.0 as was suggested in the thread, or share
the complete build log of host-gmp, as well as the config.log file ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2020-08-24 20:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 14:09 [Buildroot] Building for Raspberry Pi on Pi (in Ubuntu WSL same is working) Marie Maurer
2020-08-24 17:40 ` Aaron Dewes
2020-08-24 20:19 ` Thomas Petazzoni [this message]
2020-08-25  7:18   ` Marie Maurer
2020-08-25  7:26     ` Marie Maurer
2020-08-25  7:33       ` Thomas Petazzoni
2020-08-25  7:43         ` Marie Maurer
2020-08-25  7:49           ` Thomas Petazzoni
2020-08-25  7:53             ` Marie Maurer
2020-08-25  7:56               ` Marie Maurer
2020-08-25  8:17                 ` Thomas Petazzoni

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=20200824221903.167aeb55@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 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.