> On Fri, 9 Apr 2010, Jan Hubicka wrote: > > > > On Thu, 8 Apr 2010, Jan Hubicka wrote: > > > > > > > :) We need debug info and hammer out all bugs of course! I would also > > > > like to > > > > see possiblity to LTO bootstrap without gold and possibility to not > > > > generate > > > > assembly into LTO .o files. In the typical use where one builds app > > > > with LTO > > > > (such as bootstrap) this just slow down everything approximately twice > > > > that is > > > > IMO silly. > > > > > > Well, but it's pretty much deep-rooted into the LTO design as we use > > > collect2 and/or gold to do symbol resolution which of course needs > > > object code. I can imagine we can nuke the collect2 stuff looking > > > at symbols, but the linker plugin code just aint going to work > > > without object code. > > > > I guess if really necessary we can do something like just outputting symbols > > for all the nodes without real code or so, but it is somewhat ugly. > > What we definitely can do (and probably should) is to go right to > expansion after writing the LTO IL to avoid inconsistencies in output > symbols vs. the LTO IL and of course to save compile-time (though > compile-time issues seem to be minor compared to link-time).
Well, this still increase I/O and object sizes etc. It would be really nice to have only one representation in the object when we know we are not going to link w/o LTO. Honza