]> git.baikalelectronics.ru Git - kernel.git/commit
kselftest/arm64: mte: Output warning about failing compiler
authorAndre Przywara <andre.przywara@arm.com>
Fri, 19 Mar 2021 16:53:31 +0000 (16:53 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Mar 2021 15:43:20 +0000 (15:43 +0000)
commita99510f23b3b8ae620c713cc658e7f0dca9b0565
tree0277eee3845a629c445877b6ceb3fb0bd81d8d11
parent7be7245b5d2986f65ff916a4ff6f52621dd56701
kselftest/arm64: mte: Output warning about failing compiler

At the moment we check the compiler's ability to compile MTE enabled
code, but guard all the Makefile rules by it. As a consequence a broken
or not capable compiler just doesn't do anything, and make happily
returns without any error message, but with no programs created.

Since the MTE feature is only supported by recent aarch64 compilers (not
all stable distro compilers support it), having an explicit message
seems like a good idea. To not break building multiple targets, we let
make proceed without errors.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Mark Brown <broone@kernel.org>
Link: https://lore.kernel.org/r/20210319165334.29213-9-andre.przywara@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/mte/Makefile