Received: by 10.223.176.5 with SMTP id f5csp1195183wra; Fri, 9 Feb 2018 14:25:33 -0800 (PST) X-Google-Smtp-Source: AH8x226tSHEj36NKux9T3U/Vbxq7pw5monq6XTYMQewKIiXLumKSZy+gRxX9DZmOGqtIsuLGhEa7 X-Received: by 10.98.227.8 with SMTP id g8mr4278229pfh.200.1518215133208; Fri, 09 Feb 2018 14:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518215133; cv=none; d=google.com; s=arc-20160816; b=VtY5O229kMaHBBjU2mE3rCS/TqAufjiI+G8rm+L+xaAhRLBX1FdwtHKMUoTtLm/dHg sJjneFhRpWezBNzTwJP/t79PTGICtpz5S4NduMWk8/rM4thOsspT5kZ6XdhoCNa3UB7n zAxosek/6G5baCkw7nd5DIYKbrENgdXTr9qJkLxeZey8zbN92jHg8pzCXo6Rl39fhUt+ ePqQMx67u5AzPLI67/Y/7FztDsw0walrW7UJ5VhP4kks6PUcZ/W4DxUcVU6kZLIIF5/k o1HcVnuFJagPobuIfHb0h+URMh36LsSs5oomPYO/c2QwBpqCEkdvkla1aR9SXF5FQ7Q7 sNNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:arc-authentication-results; bh=8etUtDzELEwDgrDuOMiAjjKTsImUjDouaoEN1v0cQto=; b=OWy9EW5Slj4Lva7XMmBRs8giShqDmCqWdk4lJjuUn+ol60s93xzJio48pRYw37BHAt J/qKDHYJLQecwmuT49Ke2wvULwbY7HsvXYLzVrzSgYpmFeZFCrVP2wNQX3Z4Xj+LxD/x 78K9X0wIZxfBOR3pNspcSN5FB5PQOyKfFI6Wdu8O/30SZbTtstDMNWAu956fH1NV7aDq 5jb3A52d/qKwSSeFYK1+UWyp+B+QPUZnW0L52bBDo7k7+UCUUIIyP0ndiBZkj7cU64tp sqVyo/jXyb86Mp6rNiCFt7fFVzpgsacMjMcEvMEDfahvpJuGCXgtm2EDQntxjc42mK71 Vb5g== 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 1-v6si2118850plx.93.2018.02.09.14.25.19; Fri, 09 Feb 2018 14:25:33 -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 S1753072AbeBIWYm convert rfc822-to-8bit (ORCPT + 99 others); Fri, 9 Feb 2018 17:24:42 -0500 Received: from mail.fireflyinternet.com ([109.228.58.192]:58435 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752724AbeBIWYl (ORCPT ); Fri, 9 Feb 2018 17:24:41 -0500 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 10637629-1500050 for multiple; Fri, 09 Feb 2018 22:24:36 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Arnd Bergmann , x86@kernel.org From: Chris Wilson In-Reply-To: <20180202145434.100626-1-arnd@arndb.de> Cc: "Nicolas Pitre" , "Andi Kleen" , linux-kernel@vger.kernel.org, "Arnd Bergmann" References: <20180202145434.100626-1-arnd@arndb.de> Message-ID: <151821507347.9954.4785393248908071074@mail.alporthouse.com> User-Agent: alot/0.3.6 Subject: Re: [PATCH 0/3] x86 bugfixes for LTO Date: Fri, 09 Feb 2018 22:24:33 +0000 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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). -Chris