Skip to contentSkip to conversation

gmp: disable assembly for arc

PATCH New Vlad Zakharov 2 participants 5 messages Aug 15, 2016 – Aug 30, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gmp: disable assembly for arc

It has different inline assembly constraints that
are not supported after update to gcc-6.

Fixes:
http://autobuild.buildroot.net/results/c91/c9143eec0834017d57d5352d6fc95b5fae38da00//
and a lot of other failures of gmp-6.1.1 for ARC.

---
 package/gmp/gmp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gmp/gmp.mk +1 -1
index 485bf7c..420fd2f 100644
@@ -15,7 +15,7 @@ HOST_GMP_DEPENDENCIES = host-m4
 
 # GMP doesn't support assembly for coldfire or mips r6 ISA yet
 # Disable for ARM v7m since it has different asm constraints
-ifeq ($(BR2_m68k_cf)$(BR2_mips_32r6)$(BR2_mips_64r6)$(BR2_ARM_CPU_ARMV7M),y)
+ifeq ($(BR2_m68k_cf)$(BR2_mips_32r6)$(BR2_mips_64r6)$(BR2_ARM_CPU_ARMV7M)$(BR2_arc),y)
 GMP_CONF_OPTS += --disable-assembly
 endif
 
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 gmp: disable assembly for arc

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vlad" == Vlad Zakharov <[email protected]> writes:

It has different inline assembly constraints that
are not supported after update to gcc-6.

Fixes:
http://autobuild.buildroot.net/results/c91/c9143eec0834017d57d5352d6fc95b5fae38da00//
and a lot of other failures of gmp-6.1.1 for ARC.

Committed, thanks.

Are you working on getting this fixed in upstream gcc/gmp for future releases?

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard 
#2 lore raw

PATCH 1/1 gmp: disable assembly for arc

Hi Peter,

yes, I am just working on fixing it in upstream gmp and hope fix will be send soon.

Thanks.

Quoted 20 lines · Peter Korsgaard
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

"Vlad" == Vlad Zakharov <[email protected]> writes:

?> It has different inline assembly constraints that ?> are not supported after update to gcc-6.

?> Fixes:
?> http://autobuild.buildroot.net/results/c91/c9143eec0834017d57d5352d6fc95b5fae38da00//
?> and a lot of other failures of gmp-6.1.1 for ARC.

?> Signed-off-by: Vlad Zakharov <[email protected]>

Committed, thanks.

Are you working on getting this fixed in upstream gcc/gmp for future releases?

Signature · 2 lines
Best regards,
Vlad Zakharov <[email protected]>
#3 lore raw

PATCH 1/1 gmp: disable assembly for arc

Hi Peter,

The patch that solves the issue in gmp was adopted in upstream gmp:
https://gmplib.org/repo/gmp/rev/58879634af3c
and will come up in next gmp release.

So current patch should be reverted after update to upcoming gmp release.

Signature · 2 lines
Best regards,
Vlad Zakharov <[email protected]>
Quoted 33 lines · Vlad Zakharov

Hi Peter,

yes, I am just working on fixing it in upstream gmp and hope fix will be send soon.

Thanks.

Quoted 26 lines · Peter Korsgaard
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vlad" == Vlad Zakharov <[email protected]> writes:

?> It has different inline assembly constraints that ?> are not supported after update to gcc-6.

?> Fixes:
?> http://autobuild.buildroot.net/results/c91/c9143eec0834017d57d5352d6fc95b5fae38da00//
?> and a lot of other failures of gmp-6.1.1 for ARC.

?> Signed-off-by: Vlad Zakharov <[email protected]>

Committed, thanks.

Are you working on getting this fixed in upstream gcc/gmp for future releases?

#4 lore raw

PATCH 1/1 gmp: disable assembly for arc

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vlad" == Vlad Zakharov <[email protected]> writes:

Hi Peter,
The patch that solves the issue in gmp was adopted in upstream gmp:
https://gmplib.org/repo/gmp/rev/58879634af3c
and will come up in next gmp release.

So current patch should be reverted after update to upcoming gmp release.

Great, thanks!

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard