[PATCH] Re-write LTO type merging again, do tree merging

Richard Biener rguenther@suse.de
Tue Jun 18 10:20:00 GMT 2013


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



More information about the Gcc-patches mailing list