On Sun, Dec 07, 2014 at 07:54:49PM -0800, Cst King wrote:
> On Monday, December 8, 2014 1:39:48 AM UTC+8, Ted Mielczarek wrote:
> > On 12/6/2014 11:59 PM, Cst King wrote:
> > > In linux pgo builds, xul is linked twice at least during profile use 
> > > phase.
> > > Can it be avoided? 
> > >
> > If it's getting linked twice during the second phase that's a bug. If
> > you mean it's getting linked twice total, then that's intended. PGO
> > builds first build an instrumented build (the first link), and then
> > after profiling rebuild using the data from profiling to generate better
> > code (the second link). If you're seeing something else you should file
> > a bug and provide build logs.
> > 
> > -Ted
> 
> https://tbpl.mozilla.org/php/getParsedLog.php?id=54110988&tree=Mozilla-Inbound&full=1
> 
> chmod +x libxul.so five times
> rm -f libxul.so          five times
> 
> Is it normal? 

No it's not, it should be built three times:
- Once with profile-generate
- Once with profile-use
- Once for gtest, as mentioned by Ted.

The log you link shows it built twice for both profile-generate and
profile-use, which is not expected.

Please file a bug.

Mike
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to