Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp696492pxt; Fri, 6 Aug 2021 11:24:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3eQRfRbrZzq+UL0rDMAAuVSaUrqmHpQZJaATtLZfNN1fQQzGPsQnsdZ3WNEllQkmHww1W X-Received: by 2002:a92:8e41:: with SMTP id k1mr857784ilh.276.1628274269416; Fri, 06 Aug 2021 11:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628274269; cv=none; d=google.com; s=arc-20160816; b=JcXm0nDXaEj0CoxnaStg+NJMsMB5nYEZ6TNwy8yWUtK/Gke66kLd3BKT4JxH32/5NW 0tVzWjVlfSrejremktaeJHfI1R995+zyWjJYK/31RiMekOHpvYVVBYtYj+l0VPJpWhvR Hj5vu1ckVPwqY25XXX6dLTQzmX/XWdoOst+1Ct4lZwV8I8WGs8m1Sd1AauCxUoCb50// cJh1+N5SjDRcwu3VqvTycEY9lmYNwcIgav9Xu2/Zu+jKokdJ0NilHUg0Z7MzrbWIWAMX k7ZiL4qOSg3ImyxJ+CxcWCtCpn95D8JP+Hegulc4kewWbjRnAeGUXolovDmbt5ABXnTQ HzPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=BL6YlCbDsEAPs5DxI2P6UUekxLwuhdaTTldWOudLzxk=; b=UqPqUK+Y7v+LyYMKnLCG+hi+hzXzsq9hNKl5qkLKMCK7rpw27TWyy2FbAIZ4fKM7HQ JbvDyO/w3TN9DeHoluzTED7IqyZgdc68VKu/DZqxC25Sz+tp0THNeAk1dm/JKHImUh7l szupORVEiBXumaYcKzra6xvpKDlxYHYeP6ckgxmB3bWezgrkYcLUVuwkhXZwZpGH6Nmo s7Uck0pntMACx9QwiBSOhnFY3tMV63uD1bTHWRATHMdR5E8SqMBVrM9QwI8UWFfos7xp zm2j0o0lgyHX+oa1erP8AxD/StGY1+QbhdehMZOy4a85tKmY8PMupbv/nZGjO/Miwkyo XUTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Plmi6EgM; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r6si10157054iov.48.2021.08.06.11.24.14; Fri, 06 Aug 2021 11:24:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Plmi6EgM; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241176AbhHFMmz (ORCPT + 99 others); Fri, 6 Aug 2021 08:42:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236860AbhHFMmy (ORCPT ); Fri, 6 Aug 2021 08:42:54 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6B70C061798 for ; Fri, 6 Aug 2021 05:42:38 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1628253756; 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: in-reply-to:in-reply-to:references:references; bh=BL6YlCbDsEAPs5DxI2P6UUekxLwuhdaTTldWOudLzxk=; b=Plmi6EgMBRKNKCY/J/6RABCCHGJxeYDbPVIYfj9AZQLMpE33fuD8BxbUHJ3nh1OPiiPmy8 jUcl/quDEV0IV9B3m+RaEmkcWhn711Z3YLab2aYcEr82i7cnk1vTRe5iA6Nx+ldm8rHAZ4 A0ogla4fHGxhg8QtRrePvxh3vql+ocKsd1y3/X51taOq4ZG77Xzw7c+555JK3GDvRH8H1C rGHfUXzWLsoEi/yR6akbVlpgtfso9p/lwb3E3U7q53bEhRuQ/drDSVr4ehTMkiqeUE9u9s TWxWO0SJuZcD7MTHVTDyD3eqdt6haWzpZz8n0zVN0P4hZxQBds3djquF9u9Flg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1628253756; 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: in-reply-to:in-reply-to:references:references; bh=BL6YlCbDsEAPs5DxI2P6UUekxLwuhdaTTldWOudLzxk=; b=JiGJMbqH2M8Bl14Nv4Ka8ofDarNV4zT1AuEIHfZvIxcI/409xVneh6FtNmFe16czxBw5GJ bHdFAXRrjsjopaDw== To: "Chen, Rong A" , Dave Hansen , kernel test robot , Dave Hansen Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List Subject: Re: [kbuild-all] Re: sparc64-linux-gcc: error: unrecognized command-line option '-mxsave' In-Reply-To: <8bee8632-9129-bb02-ab94-f65786e65268@intel.com> References: <202107271153.7QWf3g6F-lkp@intel.com> <8bee8632-9129-bb02-ab94-f65786e65268@intel.com> Date: Fri, 06 Aug 2021 14:42:36 +0200 Message-ID: <87a6lu68xv.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 04 2021 at 17:04, Rong A. Chen wrote: > 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. This smells like a host/target compiler mixup. Can you please make the kernel build verbose with 'V=1' and provide the full build output? Thanks, tglx