From: Geliang Tang Date: Thu, 24 Mar 2022 09:55:54 +0000 (+0800) Subject: selftests: x86: add 32bit build warnings for SUSE X-Git-Tag: v5.18-rc2~20^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa8ce29931d6a37aa80f10ae7aa30045108f276d;p=thirdparty%2Fkernel%2Flinux.git selftests: x86: add 32bit build warnings for SUSE In order to successfully build all these 32bit tests, these 32bit gcc and glibc packages, named gcc-32bit and glibc-devel-static-32bit on SUSE, need to be installed. This patch added this information in warn_32bit_failure. Signed-off-by: Geliang Tang Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/x86/Makefile b/tools/testing/selftests/x86/Makefile index 53df7d3893d31..0388c4d60af0e 100644 --- a/tools/testing/selftests/x86/Makefile +++ b/tools/testing/selftests/x86/Makefile @@ -92,6 +92,10 @@ warn_32bit_failure: echo "If you are using a Fedora-like distribution, try:"; \ echo ""; \ echo " yum install glibc-devel.*i686"; \ + echo ""; \ + echo "If you are using a SUSE-like distribution, try:"; \ + echo ""; \ + echo " zypper install gcc-32bit glibc-devel-static-32bit"; \ exit 0; endif