From patchwork Thu Mar 24 09:55:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 12790582 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0F50C433F5 for ; Thu, 24 Mar 2022 09:56:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236762AbiCXJ5f (ORCPT ); Thu, 24 Mar 2022 05:57:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239661AbiCXJ5f (ORCPT ); Thu, 24 Mar 2022 05:57:35 -0400 Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.109.102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DEB29F6C6 for ; Thu, 24 Mar 2022 02:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1648115761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/71xnBGsTjbSe8fHQiLNuUJ+rpCqttfzQBFMMgHomTE=; b=hvRKyb3/IRQPDNEnPy39OQsj3kdzJuNCz+oFgtw9Zm/N9k7YJQEepdHCSOWZG411QJl9TN +T2QACRcMfquupAgeamlMyS7rk7Q6zxte82T2HIHGCjW0M0bpRFgRw1V49CQ6vFdursLNO n2v0WWz6VeSSU/B1Y6Ky1E/FuXUzbm0= Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2112.outbound.protection.outlook.com [104.47.17.112]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-5-CsDV5Lj1PHODUkoQpBOYLw-1; Thu, 24 Mar 2022 10:56:00 +0100 X-MC-Unique: CsDV5Lj1PHODUkoQpBOYLw-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=asfSUklTwUzwoucpF79eUWifuAmcROUpbk94GtQO5grcUUVaflQQQpD9ZVgllXBSHqnhx8LKprSTk/DHhBllJBSKokUT1q8UKar/DmCNrdSeucWuCLqLr0C4/uhcNdcdcL0m7zT0fjJn/ousqt+7LXBIL5o07CcHVvM0QZCBD3TM5vB4L5KEpgYb3K6QAwPScyescJ6jzdJRvKzIzyjVYLXklGMCukpWIC681qWTqOU6QOZk0/8BP0FpuejrO3BmCV7ZzJoA7Orrqgi6uZhVoGa7wv4j02wA11CyCzIZEDjGtQeS52RcL9Yi8ocQURC3cRc8uw98POH8L7FJBrqlXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3ZBd785/0NlHdy6OKsUJTokoMoAo5K8hxPeVfufxWrE=; b=jKbUSx6E1gAHksFMFGsuqKVEV4KbVV56ovmj/rUld2XLzSxyVOADgjwFpEOacsaitM93KRooCZzg3Tq+COrgjo8XiWK9bz0t+uE0fbFx290b87KjFNxOGPSYPVeGMsg2U7730fyYoCqa1QCqd9T2LeZoooaN6Wmdmw29QyTH25obZ6ckCazZjWvHgXDJW2MaAyOj6uWRjV/TOvUZVFBSSD3SyLBcj/wASi/xo3sRgIZ66fXURdU6FRqS0IfzNK8jE1/WXoYJcbeaHoiIIuMdZJYUy49mNccXgVmblvuif5y4nSGLVr0e2koW3Aya5+aBMzD/VGUMwRlxwN70CqFcKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from HE1PR0402MB3497.eurprd04.prod.outlook.com (2603:10a6:7:83::14) by VE1PR04MB6479.eurprd04.prod.outlook.com (2603:10a6:803:11c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.18; Thu, 24 Mar 2022 09:55:58 +0000 Received: from HE1PR0402MB3497.eurprd04.prod.outlook.com ([fe80::b110:cb51:e09f:bb05]) by HE1PR0402MB3497.eurprd04.prod.outlook.com ([fe80::b110:cb51:e09f:bb05%6]) with mapi id 15.20.5102.016; Thu, 24 Mar 2022 09:55:57 +0000 From: Geliang Tang To: Shuah Khan CC: Geliang Tang , linux-kselftest@vger.kernel.org Subject: [PATCH] selftests: x86: add 32bit build warnings for SUSE Date: Thu, 24 Mar 2022 17:55:54 +0800 Message-ID: <5f22f4657cd11e541ab6cdbb7782b55891f63241.1648115583.git.geliang.tang@suse.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: HK2PR06CA0013.apcprd06.prod.outlook.com (2603:1096:202:2e::25) To HE1PR0402MB3497.eurprd04.prod.outlook.com (2603:10a6:7:83::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fe7fcac1-e771-4472-c957-08da0d7c7e79 X-MS-TrafficTypeDiagnostic: VE1PR04MB6479:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A+98qjafLVFbQ3J8sLWNAd+i9+Zq76bUgAp0oRddxy24hFcmzOKonscZA81AjJcWac6FChbr+Y14bkSues3OiH9Qjx73CBFOzZCyDvbnspyifkI10ul9U+VVFYMyW2wIyXNiy+BvRUMA+oQeIp2s/CKJPc289pieVGZD7djrBOm7LNTTt8MfDDm5fyx7AEf1DM1b1+c1k+DhA6NN2CE1dOsB5SHE9KPsb7UFunANNhl4ce3rhZ2Ioe4TWKU4dChAm5YBOFSUssnexNuGhMbIwehrO9cYBhsu+XnYdjNwc2NR7wbksNzE+xqL4VtisAGxCCA9mwYNR7XkOg898hJaiJyTVij1ADYiahTTAaKUlmzER1TuMqkuj2op5x+8b2ubo8njmVf5PMVaux8fdKN4riSXo7mFiWmH0E1sCCsKTlVm/Z/dy/7/wDj9J7OnqXeyxoQYSE7nwuXlyFcsmecopT6LUqk58GjRCUWCB3OxWZce12Dka/Ln7EpD8KfK3DFTulwOIxGhOoRBikp6SBgvHaoM+D6cXVFHJI8wxR2DVDGQpavwIeQ36+9D0AjjHkiTwJOIwxfmSCPQrtBBydle17TYuS/V9Y0BFdFcmDoEASaAJxKuPHI1aGahHj9PJKACt1KzVOYDYWvnVCgbAbwqPko2g1JJxN8Qe+PV9tA9WpsqzGyLPf0l5bTqz2L57hxqAqYiBi0duzMlNBKFqSpdRg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB3497.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(26005)(186003)(2616005)(6486002)(6512007)(6506007)(6666004)(508600001)(38100700002)(83380400001)(66556008)(44832011)(86362001)(66476007)(66946007)(4744005)(316002)(2906002)(6916009)(8936002)(8676002)(36756003)(5660300002)(4326008)(13296009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Xaeo7h1/Ws6RExzuXK7w6gkzfOlkkYiR2nyjAJfeqXp1FnlG/Xs8eOPQU26gmdS75SO2yhqw4UCa8rKdUBDjrtnrOAlyUDrnOx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mwIfwChCg+KEbZ+uGn1qVf8lekwpmntWcHJ9195CllrFRSXOtnnwlnvNeadsz06O3HaVUMxl70XX7QZ3yIpAYj+Xf5mU8oy01Ja7/tiwFkD6EuBUJbdOjS7Akv6UWBtfh7EVaq7Ppg50t1uvkYjMwVkhPmRwuIcrubtWkGZgBh7GHVLLxqPYPG3kcfWXW0fXSeOgfUlR07b6eaAzYri/lwejrbbkawyYei/oOw1B6NFz4kHCdku20LWbKhsO4w3D4cSWGNCvDnOeRpgfCjeKASNdje2FslfkACaNRs7F97NCooiJM3eDruQzUIwHqYMW+8FSsd/VfkoGtA5mcpko3pCfUzSiBK70nsSQb0ZxePGe/sZv8y6G2A4WfxTR/304h8GGaBEv+Ztr4y6YgG+16LYRoagtH17jfGnmU7vyQGWiWvyDBK8YAMrOltWxyybuqndloBoMlsIe+WRJF/0RFe/TUAjVx6fcNqesH22jHRDLxEf7Z/9pTHvvjemRuxsuxD9N4yr+K/21GL1K4M90gjT+UKGp08tYT1hVEAdzVLzfxyxdss7CQCjQDL+EWEQufyLwewTePY= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe7fcac1-e771-4472-c957-08da0d7c7e79 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB3497.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2022 09:55:57.7393 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ymP5uDzzP6NXseouZI1z5D+s2wkKt4fBtZR6kbP5kXn75q5L0SRevGoiPMY6XFIZg123SDGNhUmWzoS0ueZrtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6479 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org 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 --- tools/testing/selftests/x86/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/x86/Makefile b/tools/testing/selftests/x86/Makefile index 8a1f62ab3c8e..ffd7c1fa2c9e 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