valgrind: disable for mips64r6/mips64elr6
authorPeter Seiderer <ps.report@gmx.net>
Thu, 8 Nov 2018 21:49:32 +0000 (22:49 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 9 Nov 2018 21:21:54 +0000 (22:21 +0100)
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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/valgrind/Config.in

index 56e4af21fa7987d30c33c37b938cafddc2306c84..8fe7080cd72f68372a714a6000fcdc330217d2d5 100644 (file)
@@ -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