Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1645835pxb; Thu, 16 Sep 2021 11:57:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV0dEmBpwF4Zk0oTCO+TuJVmsZgJqYFahfI1NdUIUGlrjD7O4X2kJUivOtm9UX/KxOPNwe X-Received: by 2002:a17:906:9b87:: with SMTP id dd7mr8286357ejc.99.1631818637950; Thu, 16 Sep 2021 11:57:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631818637; cv=none; d=google.com; s=arc-20160816; b=BWIX8sxAhXAqDQvqjW/2BgDEpD71HoDuwWfNYLhKoeNjSDe+hGfCSeZyq//rnLeGdw 156taXKld04Mb3X//My9Y4lq6eixXnUkGH3AV43ezIrQuNY9vlaZUhL3E5f63uVcPrKI N7hZL5fwXfAv3/N8xwsE5y4uZnc8Fiva473LtrXZm6ZO3yPT9P2NM2HLdL7s0rngNdpx J6/XEwOMWbWWGcBlfJG7bC1DVNoBRsk/dmbU4ffvgR8/UDjtCRtXW7FefHj6rgCV5kkQ 2rUCJZdh80upCMAjuvvRgA4Bw0BVhUiFyrbRDtfrJZbRgtuOoIhd8oO2Bq5ATNRV199s FydA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=dkz8znaFQPZ6xXNRdpxZhigScIVUXFIWiWVDWjF2JAU=; b=wD3zXkecGVzRBRZOJREY5H17wSJQKjoqgLMTHXWace4QIGWd13H0OfEYwog7RaVJgH 9L7GmcRMEDx7ETmnTkjSwxoq3NTlaEOt0dSWWjuYyWE3tSDr4kQk+ezQL9nDandJhBk0 hONChc4KRIkAu9BWEWSU4Woql4GoZyhN39W9OmjXluKW+Av/Awle2OGKdEt4k9hyvzXO 3L6FBANjy3cHfFrGBlWjHmFITrxNjM41504HfLUlU8zzbo8527xhEwHxaI+X4I4YlOnG zjov3mf34DRnduMq8yhFSLvR482hhdp3SSmgQuHXNZ6NsYy91+fLjZ0tW7r2Yisf0bpB hsIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XiR3lBfD; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si4351690ejt.81.2021.09.16.11.56.54; Thu, 16 Sep 2021 11:57:17 -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=@kernel.org header.s=k20201202 header.b=XiR3lBfD; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238679AbhIPPV5 (ORCPT + 99 others); Thu, 16 Sep 2021 11:21:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:44782 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238632AbhIPPV4 (ORCPT ); Thu, 16 Sep 2021 11:21:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 53EB361216; Thu, 16 Sep 2021 15:20:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631805635; bh=E9H0v3G3Ov/ePc/WdqGiURbGTrVRQfMaWxyj/2lWf6I=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=XiR3lBfDdxd/En6kpPAMzQsptVKe9VXUdRghpBhphmlpPzEYGfazTxq6ntH535oSZ jyjChXMEuLLSlyg0Sr0HsMn7DojUU8OLIbe7lClxZ4CNm7dWFM0cMJgLI14CQg/hlQ q5J5HSsuSbzLfAjyP80+pDZUDOF8/0P3+WW7w/JA+54avH6JLdlmc9wLO1Cf7EXGE7 c4fZthPYB6XmkoD7HfpP2ir237FGFxbMesZfju9vTobJoGtk11tctDvYQ2NHpUwCbf Vrg1/HFl2eB/ZwniWOjo0PhntuLL+8z4IJIj26zTh/gzxCUoYDR4G+TWWKeKr1XYGZ ZOM6kG47xS7LQ== Subject: Re: clang: error: unsupported argument '-mimplicit-it=always' to option 'Wa,' To: Naresh Kamboju , open list , Greg Kroah-Hartman , Sasha Levin , lkft-triage@lists.linaro.org, llvm@lists.linux.dev, Linux-Next Mailing List Cc: Nick Desaulniers , Stephen Rothwell References: From: Nathan Chancellor Message-ID: Date: Thu, 16 Sep 2021 08:20:32 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.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 Hi Naresh, On 9/16/2021 6:45 AM, Naresh Kamboju wrote: > Following build warnings/ errors noticed while building linux next-20210916 > with clang-10, clang-11 and clang-12 for arm architecture. > - allnoconfig > - tinyconfig > > But builds PASS with clang-13. > > clang: error: unsupported argument '-mimplicit-it=always' to option 'Wa,' > make[2]: *** [/builds/linux/scripts/Makefile.build:288: > scripts/mod/empty.o] Error 1 > make[2]: Target '__build' not remade because of errors. > make[1]: *** [/builds/linux/Makefile:1329: prepare0] Error 2 > make[1]: Target '__all' not remade because of errors. > make: *** [Makefile:226: __sub-make] Error 2 > make: Target '__all' not remade because of errors. Thank you for the report. This is caused by the implicit switch to the integrated assembler in commit f12b034afeb3 ("scripts/Makefile.clang: default to LLVM_IAS=1"). Prior to LLVM 13, -Wa,-mimplicit-it=... was not properly handled by the integrated assembler but Nick fixed that: https://github.com/ClangBuiltLinux/linux/issues/1270 As noted in the above Linux commit, please adjust arm clang-10 through clang-12 builds with TuxSuite to pass 'LLVM_IAS=0' to make, which you can do with the 'make_variables' key: https://github.com/ClangBuiltLinux/continuous-integration2/blob/a998b85bf1d2ce4150005b225f4cde535fe12af5/tuxsuite/android-mainline.tux.yml#L207 Sorry for not giving you guys more of a heads up about that switch. Cheers, Nathan