Skip to contentSkip to conversation

valgrind: disable for mips64r6/mips64elr6

PATCH New Peter Seiderer 2 participants 2 messages Nov 8, 2018 – Nov 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 valgrind: disable for mips64r6/mips64elr6

Fixes [1]:

/tmp/ccBAUqbI.s: Assembler messages:
/tmp/ccBAUqbI.s:622: Error: opcode not supported on this processor: mips64r6 (mips64r6) movn $2,$4,$7' /tmp/ccBAUqbI.s:2607: Error: opcode not supported on this processor: mips64r6 (mips64r6) movn $2,$4,$7'

[1] http://autobuild.buildroot.net/results/dc52088222e9fbedcebffc1c39be6d2fecfffe5d

---
 package/valgrind/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/valgrind/Config.in +4 -1
index 56e4af21fa..8fe7080cd7 100644
@@ -2,7 +2,10 @@ config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
 	bool
 	default y if BR2_aarch64
 	default y if BR2_ARM_CPU_ARMV7A
-	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+	default y if BR2_mips || BR2_mipsel
+	# MIPS64 R6 is unsupported
+	default y if BR2_mips64 && !BR2_mips_64r6
+	default y if BR2_mips64el && !BR2_mips_64r6
 	default y if BR2_i386 || BR2_x86_64
 	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
 	depends on !BR2_MIPS_SOFT_FLOAT
Signature · 1 line
2.19.1
#1 lore raw

PATCH 1/1 valgrind: disable for mips64r6/mips64elr6

Hello,

Quoted 6 lines · Peter Seiderer

Fixes [1]:

/tmp/ccBAUqbI.s: Assembler messages:
/tmp/ccBAUqbI.s:622: Error: opcode not supported on this processor: mips64r6 (mips64r6) movn $2,$4,$7' /tmp/ccBAUqbI.s:2607: Error: opcode not supported on this processor: mips64r6 (mips64r6) movn $2,$4,$7'

Quoted 6 lines

[1] http://autobuild.buildroot.net/results/dc52088222e9fbedcebffc1c39be6d2fecfffe5d

---
 package/valgrind/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com