From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752545AbdK2XJ6 (ORCPT ); Wed, 29 Nov 2017 18:09:58 -0500 Received: from mail-io0-f180.google.com ([209.85.223.180]:34900 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752076AbdK2XJ4 (ORCPT ); Wed, 29 Nov 2017 18:09:56 -0500 X-Google-Smtp-Source: AGs4zMZIw79sajPU+9AZNvbYy3KBy1KuhnNdiNlGttrcIExy/IvvZtGMToULYg5HLje/obWCT4iPLw== Date: Wed, 29 Nov 2017 15:09:52 -0800 From: Sami Tolvanen To: Andi Kleen Cc: linux-kernel@vger.kernel.org, x86@kernel.org, alxmtvv@gmail.com, linux-kbuild@vger.kernel.org, yamada.masahiro@socionext.com, akpm@linux-foundation.org Subject: Re: Link time optimization for LTO/x86 Message-ID: <20171129230952.GA138088@samitolvanen.mtv.corp.google.com> References: <20171127213423.27218-1-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171127213423.27218-1-andi@firstfloor.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andi, On Mon, Nov 27, 2017 at 01:34:02PM -0800, Andi Kleen wrote: > This is an updated version of my older LTO patchkit for gcc/x86 > This version doesn't need special binutils, but requires gcc 5+. > It also is compatible with near all options (except MODVERSIONS) Would you mind changing the config option prefix to LTO_GCC, for example? It looks like there are a few places where gcc LTO needs to be disabled, but clang LTO works fine, and vice versa. My earlier clang LTO patches also had a solution for MODVERSIONS, which might work with gcc as well. Sami