Closed Bug 1839832 Opened 11 months ago Closed 5 months ago

Use PGO-based orderfile

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

References

Details

Attachments

(2 files)

With clang 17 a new kind of pgo-based instrumentation will be available (called temporal instrumentation). It can be used to derive an orderfile.

Depends on D181749

Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0f25efce3714
Detect compiler support for temporal instrumentation r=glandium
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

Backed out for causing build bustages, requested by glandium

Status: RESOLVED → REOPENED
Flags: needinfo?(sguelton)
Resolution: FIXED → ---
Target Milestone: 116 Branch → ---
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9f805dc435b5
Detect compiler support for temporal instrumentation r=glandium
Status: REOPENED → RESOLVED
Closed: 11 months ago10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
Flags: needinfo?(sguelton)
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3dcccc40be04
Use PGO-based orderfile when possible r=glandium
Status: RESOLVED → REOPENED
Flags: needinfo?(sguelton)
Resolution: FIXED → ---
Target Milestone: 117 Branch → ---

Error due to an invalid profdata file that slipped unchecked through the run step. Proposed detection in https://bugzilla.mozilla.org/show_bug.cgi?id=1844769

Flags: needinfo?(sguelton)
Depends on: 1845071

Backed out as requested by glandium for causing shippable build bustages.

Depends on: 1867863
Depends on: 1867867
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/96f4aa903123
Use PGO-based orderfile when possible r=glandium

How strange, we fixed that issue through https://bugzilla.mozilla.org/show_bug.cgi?id=1867863...

Flags: needinfo?(sguelton)
Depends on: 1869497

Bug spot, thanks to Yannis: there were other naked function to flag correctly

Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba2e5b5e061b
Use PGO-based orderfile when possible r=glandium
Status: REOPENED → RESOLVED
Closed: 10 months ago5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Duplicate of this bug: 1815220
Regressions: 1876094
Regressions: 1876855
Regressions: 1876930
No longer regressions: 1876930
Depends on: 1877102
No longer depends on: 1877102
Regressions: 1877102

This one breaks GCC PGO builds - I expect reorder files can't be used with GCC:

26:26.09 DEBUG: Executing: `/usr/bin/llvm-profdata order /raid/CVS/firefox/firefox-123.0/objdir/instrumented/merged.profdata -o /raid/CVS/firefox/firefox-123.0/objdir/orderfile.txt`
26:26.09 DEBUG: The command returned non-zero exit status 1.
26:26.09 DEBUG: Its error output was:
26:26.09 DEBUG: | error: /raid/CVS/firefox/firefox-123.0/objdir/instrumented/merged.profdata: No such file or directory
26:26.09 ERROR: Command `/usr/bin/llvm-profdata order /raid/CVS/firefox/firefox-123.0/objdir/instrumented/merged.profdata -o /raid/CVS/firefox/firefox-123.0/objdir/orderfile.txt` failed with exit status 1.

Looks like reorder files are generated regardless of used compiler.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: