Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp100198pxj; Thu, 10 Jun 2021 16:04:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxToGGtPK8vlAVOACToWPTU1Y/gdqO2/wlLlW5L6wwJK+NrWw7RrIRE6cIONRa769BSQjqk X-Received: by 2002:aa7:ccc1:: with SMTP id y1mr747937edt.333.1623366292401; Thu, 10 Jun 2021 16:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623366292; cv=none; d=google.com; s=arc-20160816; b=jdjdqvvh1gh34MToIPcEEUDbKK5XfahJXi1EIPrncCGVzs0oTYbgTO70qT1mpK+8E2 BV8eUKh1zvnbJ869tYMsyz6/A1ls1txlyqEaE+DjXFIBSeaUnZYklFyBBUMQBl7sMnHQ f1+syhJFINA50chgiUYpLXb8tQVYIdmCTRb5Dgsfb/ZG6MwVpnxWIJ46GHQHFhb1L11X Sm9SBj4rGBI2qyaoXt8OS4AtAem268pnsYxFcUEhg+WKzx3jl5Xp1g9/bor6A9JPQIOC a+bvVCH+bn19/i3f6fjSMaPTijnnOC2XuJ5mtXZgawPnFU7hP9Ke38Ht0tcH+JPhr7/V xmag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Yw9883lOQsTBsg7LahgHA67J+KddRcIMo0xgHJmKbbQ=; b=XoWe5h9I4Z999nT6wQXtVdDizTY1MckSfytutzqSOaogawUWd/q2DjY6WgHCcNCDeO b2BTcbKcjrRnUBQ+Gqxb32ucad0jq+YOMFL1jp1Zpp5Bbgp5xpcOaVSmr/SqtHlqpKWs 8JwBfG13lZ+ZVwron4D6rxcnqjLAbnJn5TN9WGVqS14UoCpOOOJ3rkhsGwAu+RIASLYU B9JBNEKiM+bOyhEk4barCn+d9RjkE9W/Nq+26J/XVNVwRu1iU3jGDhwz+UxCO/nZQ1z4 v39LYkdJ1JPcq7j5JvcJsI4vMvbOlFWrhdgSX02OUiVtfGMF1dWaUdGE3eLkYNciDx+G /GGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FVQt1+qE; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh4si3859981ejb.358.2021.06.10.16.04.29; Thu, 10 Jun 2021 16:04:52 -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=@google.com header.s=20161025 header.b=FVQt1+qE; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231196AbhFJXCY (ORCPT + 99 others); Thu, 10 Jun 2021 19:02:24 -0400 Received: from mail-lj1-f174.google.com ([209.85.208.174]:43613 "EHLO mail-lj1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbhFJXCU (ORCPT ); Thu, 10 Jun 2021 19:02:20 -0400 Received: by mail-lj1-f174.google.com with SMTP id r14so7066298ljd.10 for ; Thu, 10 Jun 2021 16:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yw9883lOQsTBsg7LahgHA67J+KddRcIMo0xgHJmKbbQ=; b=FVQt1+qEc21VCuHV2iIq+JgAJa6a0iqGm0fReArOGax6cfQwk6Zuv9SNpU/8RTa4Ph 8DOm8xVSZAZjhrN+NVMPN9z1ENomMpsp9a3ePARPSqVYDweYT/Zv9n5DOZDw4PA5nL72 SrGIpSAPMfadzA0+R98OVL5tIy+bc70kLsVNDfot1G62YbLNDyY3JbxlBLNvFfB1W5UC eloqFcjiZIhf5+4YlRF+xIf8o4Xk+DvUxw4w0vrFHrF88j3j+Ce+/CoHOviOcgjbs5WP B0Ncecy8xTwAy+xpfyMT0zMwGRobgt0kFe1WKnpAhkc+g/i9ybbVWkkLvoBqBBx7dxrr Og5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yw9883lOQsTBsg7LahgHA67J+KddRcIMo0xgHJmKbbQ=; b=uGgw3bX/xQZqGstGKHoy11mbIwxeNWlVayW/+kc6sBVHJnvdUb1cYNTJT6KTxrwc4I Ruf8An5jCLSxpoeUSVNmqMQqd/W+jCxHgbu4xtZ7hT79HTk7cKhSII3jSEgW1kgFGGm1 vZqLosxkUolFcK2PjdyzDEPcRFBeXSlD6B2iQcEWCp1yu7HOEy8NmcbZljNV9T0roQzB qgGce72jaelSxLrSZVyUuCQh3txSu7/I/QauAps3wLCYA1W42Nxn/DJjeaWAICFliXKf RLeTeTkZR/i5/zTQOCUOhaAtWK8gKkpVp0x7XnHZo3Y4iOddNBPN0GOyH2Q2nndipsBP J/6g== X-Gm-Message-State: AOAM531dVTI9HFbFeN9bb82UgkCkmvQHMzgGeunw+Oxw1HwJQC8psDJI e2phpU9uy1lFRsFF08/wZAe756Zdft0hcEGtxADkDA== X-Received: by 2002:a05:651c:1111:: with SMTP id d17mr666072ljo.116.1623365949235; Thu, 10 Jun 2021 15:59:09 -0700 (PDT) MIME-Version: 1.0 References: <162336538453.1311648.12615336165738957417.b4-ty@chromium.org> In-Reply-To: <162336538453.1311648.12615336165738957417.b4-ty@chromium.org> From: Nick Desaulniers Date: Thu, 10 Jun 2021 15:58:57 -0700 Message-ID: Subject: Re: [PATCH v2 1/1] x86/Makefile: make -stack-alignment conditional on LLD < 13.0.0 To: Kees Cook Cc: Nathan Chancellor , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , Tor Vic , "mingo@redhat.com" , "x86@kernel.org" , "clang-built-linux@googlegroups.com" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 3:50 PM Kees Cook wrote: > > On Thu, 10 Jun 2021 20:58:06 +0000, Tor Vic 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'? > > > > [...] > > Applied to for-next/clang/features, thanks! > > [1/1] x86/Makefile: make -stack-alignment conditional on LLD < 13.0.0 > https://git.kernel.org/kees/c/e6c00f0b33ad Can we get this into 5.13? -- Thanks, ~Nick Desaulniers