This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Re-write LTO type merging again, do tree merging
- From: Richard Biener <rguenther at suse dot de>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Jan Hubicka <jh at suse dot de>, Michael Matz <matz at suse dot de>, Diego Novillo <dnovillo at google dot com>
- Date: Tue, 18 Jun 2013 12:20:36 +0200 (CEST)
- Subject: Re: [PATCH] Re-write LTO type merging again, do tree merging
- References: <alpine dot LNX dot 2 dot 00 dot 1306141240340 dot 6998 at zhemvz dot fhfr dot qr> <alpine dot LNX dot 2 dot 00 dot 1306171426140 dot 22313 at zhemvz dot fhfr dot qr> <20130617175157 dot GG6123 at two dot firstfloor dot org> <3bd9a3b7-6341-46f8-a107-6564d054c5c4 at email dot android dot com> <87a9moh24w dot fsf at tassilo dot jf dot intel dot com>
On Mon, 17 Jun 2013, Andi Kleen wrote:
> Richard Biener <rguenther@suse.de> writes:
>
> > Andi Kleen <andi@firstfloor.org> wrote:
> >
> >>
> >>Current trunk cannot build LTO kernels now, with your patch,
> >>as reported earlier.
> >>
> >>Please fix ASAP. I'm surprised that you checked in a patchkit
> >>with such serious reported problems.
> >
> > Instructions for reproducing this issue appreciated. I've never built lto kernels.
>
> Install recent HJ Lu's Linux binutils somewhere
> (https://www.kernel.org/pub/linux/devel/binutils/)
>
> Build a gcc that uses the linker from above as plugin ld
>
> Check out git://github.com/andikleen/linux-misc -b lto-3.9
>
> Put attached config as ".config" into build dir.
>
> make oldconfig
> make CC=gcc LD=ld-from-linux-binutils AR=gcc-ar -j ..
Ok, it doesn't use LTO for me, not even with adding CFLAGS="-O2 -flto"
here.
Richard.
> -Andi
>
>
--
Richard Biener <rguenther@suse.de>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imend