Closed Bug 616382 Opened 14 years ago Closed 13 years ago

PGO fails when building from toplevel source directory using pymake

Categories

(Firefox Build System :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

(Whiteboard: [pymake])

For the last week, PGO is not working when I build with pymake.

Possibly related, I see the following warning quite a bit:
warning C4964: No optimization options were specified; profile info will not be collected

Maybe related to the native cl landing?
Backing out http://hg.mozilla.org/mozilla-central/rev/0e9ba7c029e3 doesn't seem to have made any difference.
It's dying when running pymake from the toplevel dir instead of the objdir.

WORKS:
cd objdir-fx
python -OO ../build/pymake/make.py -f ../client.mk profiledbuild

FAILS:
python -OO build/pymake/make.py -f client.mk profiledbuild

Build ends with a bunch of junk like the below during the packaging phase (pre-PGO omnijar stuff I guess)
c:\mozbuild\mozilla-central\config\rules.mk:751:0: command 'c:/mozbuild/python/python.exe c:/mozbuild/mozilla-central/build/pymake/pymake/../make.py libs' failed, return code 2
c:\mozbuild\mozilla-central\browser\build.mk:65:0: command 'c:/mozbuild/python/python.exe c:/mozbuild/mozilla-central/build/pymake/pymake/../make.py -C browser/installer' failed, return code 2
c:\mozbuild\mozilla-central\client.mk:211:0: command 'c:/mozbuild/python/python.exe c:/mozbuild/mozilla-central/build/pymake/pymake/../make.py -C c:/mozbuild/mozilla-central/objdir-fx package' failed, return code 2
Ah, this has probably never worked then.
Easy enough to work around, anyway!
Summary: PGO broken when building with pymake → PGO fails when building from toplevel source directory using pymake
This issue is alive and well and prevents PGO builds from working with pymake.
Blocks: 593585
I did a couple of PGO builds with pymake -f client.mk last week without problems. Have you tried a more recent source? I think this got fixed.
It does indeed now!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.