buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/mpir: force arm mode instead of Thumb mode
@ 2023-07-02 12:33 Bernd Kuhls
  2023-07-03 19:54 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-02 12:33 UTC (permalink / raw)
  To: buildroot; +Cc: Semyon Kolganov

Fix the following build failure:
/tmp/ccuwJnnt.s:124: Error: selected processor does not support `umull ip,r6,r2,r1' in Thumb mode
/tmp/ccuwJnnt.s:159: Error: selected processor does not support `umull ip,r0,r7,r1' in Thumb mode

Fixes:
http://autobuild.buildroot.net/results/610/61094bc7b7eb1d1e49bf8fcd1864b5cd3d7c4499/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/mpir/mpir.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/mpir/mpir.mk b/package/mpir/mpir.mk
index 91f704d30c..5dbd760aa1 100644
--- a/package/mpir/mpir.mk
+++ b/package/mpir/mpir.mk
@@ -36,4 +36,8 @@ ifeq ($(BR2_powerpc64le),y)
 MPIR_CONF_ENV += MPN_PATH="generic"
 endif
 
+ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
+MPIR_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
+endif
+
 $(eval $(autotools-package))
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/mpir: force arm mode instead of Thumb mode
  2023-07-02 12:33 [Buildroot] [PATCH 1/1] package/mpir: force arm mode instead of Thumb mode Bernd Kuhls
@ 2023-07-03 19:54 ` Yann E. MORIN
  2023-07-17 11:04   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2023-07-03 19:54 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Semyon Kolganov, buildroot

Bernd, All,

On 2023-07-02 14:33 +0200, Bernd Kuhls spake thusly:
> Fix the following build failure:
> /tmp/ccuwJnnt.s:124: Error: selected processor does not support `umull ip,r6,r2,r1' in Thumb mode
> /tmp/ccuwJnnt.s:159: Error: selected processor does not support `umull ip,r0,r7,r1' in Thumb mode
> 
> Fixes:
> http://autobuild.buildroot.net/results/610/61094bc7b7eb1d1e49bf8fcd1864b5cd3d7c4499/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/mpir/mpir.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/mpir/mpir.mk b/package/mpir/mpir.mk
> index 91f704d30c..5dbd760aa1 100644
> --- a/package/mpir/mpir.mk
> +++ b/package/mpir/mpir.mk
> @@ -36,4 +36,8 @@ ifeq ($(BR2_powerpc64le),y)
>  MPIR_CONF_ENV += MPN_PATH="generic"
>  endif
>  
> +ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
> +MPIR_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
> +endif
> +
>  $(eval $(autotools-package))
> -- 
> 2.39.2
> 
> _______________________________________________
> 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

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

* Re: [Buildroot] [PATCH 1/1] package/mpir: force arm mode instead of Thumb mode
  2023-07-03 19:54 ` Yann E. MORIN
@ 2023-07-17 11:04   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-07-17 11:04 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Semyon Kolganov, Bernd Kuhls, buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Bernd, All,
 > On 2023-07-02 14:33 +0200, Bernd Kuhls spake thusly:
 >> Fix the following build failure:
 >> /tmp/ccuwJnnt.s:124: Error: selected processor does not support
 >> `umull ip,r6,r2,r1' in Thumb mode
 >> /tmp/ccuwJnnt.s:159: Error: selected processor does not support
 >> `umull ip,r0,r7,r1' in Thumb mode
 >> 
 >> Fixes:
 >> http://autobuild.buildroot.net/results/610/61094bc7b7eb1d1e49bf8fcd1864b5cd3d7c4499/
 >> 
 >> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Committed to 2023.02.x and 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-07-17 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-02 12:33 [Buildroot] [PATCH 1/1] package/mpir: force arm mode instead of Thumb mode Bernd Kuhls
2023-07-03 19:54 ` Yann E. MORIN
2023-07-17 11:04   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).