valgrind: disable for mips32r6/mips32elr6
authorPeter Seiderer <ps.report@gmx.net>
Thu, 29 Nov 2018 22:37:32 +0000 (23:37 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 30 Nov 2018 08:00:21 +0000 (09:00 +0100)
Fixes [1]:

  /tmp/ccD2Tule.s: Assembler messages:
  /tmp/ccD2Tule.s:682: Error: opcode not supported on this processor: mips32r6 (mips32r6) `movn $2,$4,$7'
  /tmp/ccD2Tule.s:2767: Error: opcode not supported on this processor: mips32r6 (mips32r6) `movn $2,$4,$7'

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

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

index 8fe7080cd72f68372a714a6000fcdc330217d2d5..c09be8629a203e4af8fb6db7c3c8c03eafd02583 100644 (file)
@@ -2,7 +2,9 @@ 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
+       # MIPS32 R6 is unsupported
+       default y if BR2_mips && !BR2_mips_32r6
+       default y if BR2_mipsel && !BR2_mips_32r6
        # MIPS64 R6 is unsupported
        default y if BR2_mips64 && !BR2_mips_64r6
        default y if BR2_mips64el && !BR2_mips_64r6