Received: by 10.223.176.5 with SMTP id f5csp1220491wra; Fri, 9 Feb 2018 15:01:50 -0800 (PST) X-Google-Smtp-Source: AH8x227AJL0GUw/IUTMLQNUAIcWlD5VE024pzVfTsoJ5WU/7ZyV7XSqnffOQUkZYsbEM7sYkKSt5 X-Received: by 2002:a17:902:8601:: with SMTP id f1-v6mr4000919plo.380.1518217310130; Fri, 09 Feb 2018 15:01:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518217310; cv=none; d=google.com; s=arc-20160816; b=XTKqC0oicDlxmujJf3pD1FUd4cWX/oTazjszDB4pTuJReWMOBeefycpf4gCRAF1Al8 HuluMBvLsToxwgW8XEQKxOnrYOovngmB7/i3KmRzEX6RAmzg31L80UePclK50ynXWnEa nvECoc9zHrp4oHtp0EoSLgp01/pqwIEFiE15/KUcKt8D4B0txftnLkSxcKqJfHGBCPL4 WsMtfENCWNf6E9Vy0TuMPc2OUO0eMNghpesqGQlZy15R7Zk0fFUrcLBIUItaGCpAjdUS z2HT7cRpGmq7wktTyquPjM2F5ZpaYDoHmcg2mjmKhhZVQL3mIlHOWbEYmS3K/Bhh7AQd T5Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Jm9DCpcrw7UBldax5An4qNl/PXhqBF/pv3jj+H+/7aQ=; b=LsYSR68zC7Ta9DFfWCm9KErOlp0Zd+Gr+GsoQ9ktnQyQa+Me3qB2i3Sc2dW9lps3Pd bkTpxOgkHDepuYqNJAd8pWt7aNnYdLsEzTDKJhwtjFhSG4eCJQMBEI8bexX1ZBz2Dmoq WtrVAe3FADEogYEjp0SpClarJZ+Vyd/gllhgMj800bc9hDEolpcvOVmicSzCpDJg+0XC 6eaZDKFkGGEdIGIBMWuEJ4OMuLZy2SHI1d4tDc8fBH0EpjBltL0NIrNCQBtgMOs0mHB5 /ng177C/oZl/r9S1f3WSZ/bfQXPBhJcC9fJD74wmQYhZKJXFCQF208FHyZZK0K/b+qsT 3W3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bb5-v6si2101408plb.471.2018.02.09.15.01.35; Fri, 09 Feb 2018 15:01:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753130AbeBIXA4 (ORCPT + 99 others); Fri, 9 Feb 2018 18:00:56 -0500 Received: from mga14.intel.com ([192.55.52.115]:32315 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752521AbeBIXAz (ORCPT ); Fri, 9 Feb 2018 18:00:55 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Feb 2018 15:00:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,485,1511856000"; d="scan'208";a="16668572" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.35]) by fmsmga007.fm.intel.com with ESMTP; 09 Feb 2018 15:00:54 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 1905A300FE1; Fri, 9 Feb 2018 15:00:41 -0800 (PST) Date: Fri, 9 Feb 2018 15:00:41 -0800 From: Andi Kleen To: Chris Wilson Cc: Arnd Bergmann , x86@kernel.org, Nicolas Pitre , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] x86 bugfixes for LTO Message-ID: <20180209230041.GI10945@tassilo.jf.intel.com> References: <20180202145434.100626-1-arnd@arndb.de> <151821507347.9954.4785393248908071074@mail.alporthouse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151821507347.9954.4785393248908071074@mail.alporthouse.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 09, 2018 at 10:24:33PM +0000, Chris Wilson wrote: > Quoting Arnd Bergmann (2018-02-02 14:54:28) > > Here are three bugfixes for x86 that I needed to get LTO-enabled > > kernels to build reliably. I'm not sure abouto that first one > > though. > > Is there a howto on how to build LTO kernels? I tried Andi's lto-415-2 > branch, but linking fails with lots of arcane PIE-vs-PIC errors. We are > wanting to investigate how we can use LTO to reduce our (i915.ko) module > size (by e.g. supporting a subset of chipsets). What are the errors? Kernel shouldn't use PIE or PIC -Andi