Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp379868pxj; Thu, 10 Jun 2021 03:08:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCY1HW6Du+FQDkEzA+JXr3f3TcLppYwBbTkNiX1c8PFLbMpScPZfzRyK3Uitxvh8YONV4M X-Received: by 2002:a05:6402:74e:: with SMTP id p14mr3898558edy.17.1623319706588; Thu, 10 Jun 2021 03:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623319706; cv=none; d=google.com; s=arc-20160816; b=U9dvxc8ZmOnvKXAAOb2+tJeBGbkPTfr7LaMig2UXOx9Yz3oK12VXEo02eIr4ZhYwll oRk4yb/juzDSL7Yt+HA2BQWoFQL7NdiJvi7KIeCsHVTeeiGU56j/a/DkVm6Ms5D5dbci xV+4FoMC3mogykJZch1g2xaR6XG1uA87O7nwo+oj7EZ//uV6c6+CF6r6S/+y5wwebvAp rh2knSwS2o7jNfEtTOrmKJIdbby5hEZJMjjY8BxOcoM7HKpR4qsLS+ffQT58yixMhzV0 PNPjMSfpHBt8UEVYTjU7cVY+VRhxVOk6b5jsbUUfPz0GIW0JE+fGa8qw370kowLQkFWq aZ2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=9WI5xCILPDtfU2J23fyUihMeujsp3+nvIZghW3iHRHc=; b=GTcyIR4jloPWNx1j6qss5zftIb2p1sQXhTN5JWMy1GKfQKA7RBSG7/nGijZCm81Aay myoe1nJISNJKAyp3krn55ejhbsKE0kcpybq+pMIHPPFvzc0tbP5fqYT9NTC2kIcDqK0I 9dvt+RDvtRtjOKb31Mo7Bz3lbq0Raf6csNzWOBJ2l2jwAq8GOUNnwZAQOzkJpm9RPwbf Hm/VRY1lKLXeWu9TNBSZo+Zio2Vv+vkgizH+sE4Cl6RDd8+0qYuXy0Qq9pH1nREeSb+6 josvRHsRETjZxOGrclq3bqGVdEWeZOnfc0LlcEDcfEjngdUqGVah2tLCNLZZzL1mc6gQ NesA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=IZFkCK0x; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=kYI4GDlQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l24si2044494ejz.239.2021.06.10.03.08.03; Thu, 10 Jun 2021 03:08:26 -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=@kroah.com header.s=fm1 header.b=IZFkCK0x; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=kYI4GDlQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230220AbhFJKGV (ORCPT + 99 others); Thu, 10 Jun 2021 06:06:21 -0400 Received: from wnew1-smtp.messagingengine.com ([64.147.123.26]:52605 "EHLO wnew1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbhFJKGU (ORCPT ); Thu, 10 Jun 2021 06:06:20 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 554BD2333; Thu, 10 Jun 2021 06:04:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 10 Jun 2021 06:04:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=9WI5xCILPDtfU2J23fyUihMeujs p3+nvIZghW3iHRHc=; b=IZFkCK0xZ/bXtTr+WlMMF8ItwBhwYM/KoXNNu+FfCc9 AyI3tT+au+cKpKHm6qser7g2DdoSVhjoNlM9T3TcOsNdrofSugaOT0I/AV5PsNzI i7n0b5RJBW4NXBqq6Bzzh9wOaMC8HSB1ZB6Jl/lxuztGf9hfTTajjnIQ0Qs74vkG egJHDMsQWZpQ6dntUDSV5vbshi3oNzIJ3Wk6Q6m4ggxGpd9uZam9o3MIY7dfqtKH HdUlVRFYCTxp5OtTSSDOmPUx2TlzLZ/549hzusz8YWdf/Ni2iX69X32FAMId571I dcbLxZ0zW/KBPM+b/HaQsk3JFSTGu83pHgbQWjSSqPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=9WI5xC ILPDtfU2J23fyUihMeujsp3+nvIZghW3iHRHc=; b=kYI4GDlQ0LwiIMhaUcPMYb UFjQhLahV8ujxVLzU3h8/dPDinCC/laG2rs0U8Kcv9o3ED62wgRlm4uxuiyNnwCW v//OF7HEXOzDEuI30gh5XULJJ+gvSlVmAbWIID9avgZc/FmYYBlPh8m04kIaxUDO WK34wTnZR4zQtDNI0iXeSNe1Il4JKbGuh8i0FtQFI1q6Ng5UsSyEUT+kNqAj/QFT 3OixEgRp8RwxMHnxuzl1V7j4sEjqk8vOv/riBi1np+86H0c0kwtzRQvoBcV7REfJ IHrwFJ+Ag2gCCgtMWCxHpxPCVjURwTL+KOKVwzQt9ofu6JHJlGUptAOxuxcHx5Cw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedufedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepifhrvghgucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheq necuggftrfgrthhtvghrnhepueelledtheekleethfeludduvdfhffeuvdffudevgeehke egieffveehgeeftefgnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhh drtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Jun 2021 06:04:21 -0400 (EDT) Date: Thu, 10 Jun 2021 12:04:18 +0200 From: Greg KH To: torvic9@mailbox.org Cc: "linux-kernel@vger.kernel.org" , "nathan@kernel.org" , "ndesaulniers@google.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "stable@vger.kernel.org" , "clang-built-linux@googlegroups.com" , "x86@kernel.org" Subject: Re: [PATCH] x86/Makefile: make -stack-alignment conditional on LLD < 13.0.0 Message-ID: References: <214134496.67043.1623317284090@office.mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <214134496.67043.1623317284090@office.mailbox.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 11:28:04AM +0200, torvic9@mailbox.org wrote: > Since LLVM commit 3787ee4, the '-stack-alignment' flag has been dropped [1], > leading to the following error message when building a LTO kernel with > Clang-13 and LLD-13: > > ld.lld: error: -plugin-opt=-: ld.lld: Unknown command line argument > '-stack-alignment=8'. Try 'ld.lld --help' > ld.lld: Did you mean '--stackrealign=8'? > > It also appears that the '-code-model' flag is not necessary anymore starting > with LLVM-9 [2]. > > Drop '-code-model' and make '-stack-alignment' conditional on LLD < 13.0.0. > > This is for linux-stable 5.12. > Another patch will be submitted for 5.13 shortly (unless there are objections). This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.