From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96F79100A0 for ; Mon, 3 Jul 2023 15:03:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92862C433C7; Mon, 3 Jul 2023 15:03:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688396621; bh=QaNWgfQP+jFKpzJKdvnOLzgnGgIT9p6iW+rItqul7nM=; h=Date:From:To:Cc:Subject:From; b=kweRJAaPoSxF8xXCd0HCrTRADBTTOP7Auy1OW/gk4679XBPrRDby/tn6M3k6LjGCx c5K/Nx291poJKlUPRPlBS4ggL7+TqR3zEqJklWJo3eK1yYv4Hi+kiYf9ZV0BA8UfNL einWpmsT5TjL/XoGfp9NQorTjBX7tK6jl2uPgqkUVcWt1ATuIrNomvnpEO29GSr2+Y 9B3Ig3AmOaJUyahp8h8hgujpO+LXnJbjVvn9d6YEQ5BXk5NK0Kweu5w9eRb0KErLbD A4h8NFrGCvH880wmRoj8Xxq6goSEVh6SUdOpLIUeuh21pKjjlgMJU1Ck4OKDPxX9iv +JXBKOi9XVYWA== Date: Mon, 3 Jul 2023 08:03:39 -0700 From: Nathan Chancellor To: Greg Kroah-Hartman , Sasha Levin Cc: stable@vger.kernel.org, llvm@lists.linux.dev, Masahiro Yamada , Nick Desaulniers Subject: Apply clang '--target=' KBUILD_CPPFLAGS shuffle to linux-6.4.y and linux-6.3.y Message-ID: <20230703150339.GA1975402@dev-arch.thelio-3990X> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Greg and Sasha, Please consider applying the following patches to 6.4 and 6.3, they should apply cleanly. 08f6554ff90e ("mips: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation") a7e5eb53bf9b ("powerpc/vdso: Include CLANG_FLAGS explicitly in ldflags-y") cff6e7f50bd3 ("kbuild: Add CLANG_FLAGS to as-instr") 43fc0a99906e ("kbuild: Add KBUILD_CPPFLAGS to as-option invocation") feb843a469fb ("kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS") They resolve and help avoid build breakage with tip of tree clang, which has become a little stricter in the flags that it will accept for a particular target, which requires '--target=' to be passed along to all invocations of $(CC). Our continuous integration does not currently show any breakage with 6.1 and earlier; should these patches be needed there, I will send them at a later time. Cheers, Nathan