Re: [PATCH 1/2] kbuild: Support split debug info v3

2014-07-24 Thread Dirk Gouders
Andi Kleen writes: >> echo time make -j4 -s KCFLAGS=-gsplit-dwarf >> time make -j4 -s KCFLAGS=-gsplit-dwarf >> echo time make -j4 -s KCFLAGS=-g >> time make -j4 -s KCFLAGS=-g >> echo time make -j4 -s KCFLAGS=-gsplit-dwarf >> time make -j4 -s KCFLAGS=-gsplit-dwarf >> echo time make -j4 -s KCFLAGS=

Re: [PATCH 1/2] kbuild: Support split debug info v3

2014-07-23 Thread Andi Kleen
> echo time make -j4 -s KCFLAGS=-gsplit-dwarf > time make -j4 -s KCFLAGS=-gsplit-dwarf > echo time make -j4 -s KCFLAGS=-g > time make -j4 -s KCFLAGS=-g > echo time make -j4 -s KCFLAGS=-gsplit-dwarf > time make -j4 -s KCFLAGS=-gsplit-dwarf > echo time make -j4 -s KCFLAGS=-g > time make -j4 -s KCFLAG

Re: [PATCH 1/2] kbuild: Support split debug info v3

2014-07-23 Thread Sam Ravnborg
On Sun, Jul 20, 2014 at 02:19:01PM -0700, Andi Kleen wrote: > > Why are as only called with -Wa,-gdwarf-2 in the non-split case? > > Is this a bug or intentional? > > If it is intentional then it is not explained. > > Probably was a merging mistake. Will fix. > > > > + help > > > + Generate deb

Re: [PATCH 1/2] kbuild: Support split debug info v3

2014-07-20 Thread Andi Kleen
> Why are as only called with -Wa,-gdwarf-2 in the non-split case? > Is this a bug or intentional? > If it is intentional then it is not explained. Probably was a merging mistake. Will fix. > > + help > > + Generate debug info into separate .dwo files. This can be > > + faster for build

Re: [PATCH 1/2] kbuild: Support split debug info v3

2014-07-20 Thread Sam Ravnborg
Hi Andi. On Wed, Jul 16, 2014 at 01:16:11AM +0200, Andi Kleen wrote: > From: Andi Kleen > > This is an alternative approach to lower the overhead of debug info > (as we discussed a few days ago) > > gcc 4.7+ and newer binutils have a new "split debug info" debug info > model where the debug inf

[PATCH 1/2] kbuild: Support split debug info v3

2014-07-15 Thread Andi Kleen
From: Andi Kleen This is an alternative approach to lower the overhead of debug info (as we discussed a few days ago) gcc 4.7+ and newer binutils have a new "split debug info" debug info model where the debug info is only written once into central ".dwo" files. This avoids having to copy it aro

[PATCH 1/2] kbuild: Support split debug info v3

2014-05-16 Thread Andi Kleen
From: Andi Kleen This is an alternative approach to lower the overhead of debug info (as we discussed a few days ago) gcc 4.7+ and newer binutils have a new "split debug info" debug info model where the debug info is only written once into central ".dwo" files. This avoids having to copy it aro