From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1647CC4338F for ; Wed, 4 Aug 2021 09:04:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F355761002 for ; Wed, 4 Aug 2021 09:04:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236926AbhHDJFC (ORCPT ); Wed, 4 Aug 2021 05:05:02 -0400 Received: from mga04.intel.com ([192.55.52.120]:33559 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235471AbhHDJFC (ORCPT ); Wed, 4 Aug 2021 05:05:02 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10065"; a="212019844" X-IronPort-AV: E=Sophos;i="5.84,293,1620716400"; d="scan'208";a="212019844" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2021 02:04:42 -0700 X-IronPort-AV: E=Sophos;i="5.84,293,1620716400"; d="scan'208";a="521763227" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.30.199]) ([10.255.30.199]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2021 02:04:40 -0700 Subject: Re: [kbuild-all] Re: sparc64-linux-gcc: error: unrecognized command-line option '-mxsave' To: Dave Hansen , kernel test robot , Dave Hansen Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Andrew Morton , Linux Memory Management List References: <202107271153.7QWf3g6F-lkp@intel.com> From: "Chen, Rong A" Message-ID: <8bee8632-9129-bb02-ab94-f65786e65268@intel.com> Date: Wed, 4 Aug 2021 17:04:38 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/27/2021 10:52 PM, Dave Hansen wrote: > On 7/26/21 8:11 PM, kernel test robot wrote: >>>> sparc64-linux-gcc: error: unrecognized command-line option '-mxsave' > > Is there something else funky going on here? All of the "-mxsave" flags > that I can find are under checks for x86 builds, like: > > ifeq ($(CAN_BUILD_I386),1) > $(BINARIES_32): CFLAGS += -m32 -mxsave > .. > > I'm confused how we could have a sparc64 compiler (and only a sparc64 > compiler) that would end up with "-mxsave" in CFLAGS. Hi Dave, We can reproduce the error and have no idea too, but we have disabled the test for selftests on non-x86 arch. Best Regards, Rong Chen