Message ID | 20230702123319.3012714-1-bernd@kuhls.net |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/mpir: force arm mode instead of Thumb mode | expand |
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" == 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.
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))
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(+)