Re: Better merging of -fPIC/pic/PIE/pie in lto-wrapper

2017-07-17 Thread Jan Hubicka
> On Sat, Jul 8, 2017 at 1:03 PM, Jan Hubicka wrote: > > Hi, > > PR lto/80838 is about lto+profiledbootstrapped compiler being slower than > > profiledboostrapped compiler. > > > > This is caused by a fact that some of object files linked into cc1plus > > binary > > are built with -fPIC and lto-w

Re: Better merging of -fPIC/pic/PIE/pie in lto-wrapper

2017-07-17 Thread Richard Biener
On Sat, Jul 8, 2017 at 1:03 PM, Jan Hubicka wrote: > Hi, > PR lto/80838 is about lto+profiledbootstrapped compiler being slower than > profiledboostrapped compiler. > > This is caused by a fact that some of object files linked into cc1plus binary > are built with -fPIC and lto-wrapper then decides

Better merging of -fPIC/pic/PIE/pie in lto-wrapper

2017-07-08 Thread Jan Hubicka
Hi, PR lto/80838 is about lto+profiledbootstrapped compiler being slower than profiledboostrapped compiler. This is caused by a fact that some of object files linked into cc1plus binary are built with -fPIC and lto-wrapper then decides to make whole binary PIC that is very slow. While we probably