Open Bug 1483524 Opened 6 years ago Updated 2 years ago

Use the clang PGO lib from ~/.mozbuild if available (missing clang_rt.profile-x86_64.lib when building)

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: away, Unassigned)

References

Details

We should make local PGO builds Just Work so that issues like bug 1341525 comment 24 don't happen.

Possibly this could be done by the compiler automatically (see also https://bugs.llvm.org/show_bug.cgi?id=40877 for --coverage).

This bit me today. :-(

Workaround from https://bugzilla.mozilla.org/show_bug.cgi?id=1341525#c25 is to include:

export LIB=$LIB;path\\to\\.mozbuild\\clang\\lib\\clang\\VERSION\\lib\\windows\\

in .mozconfig.

Summary: Use the clang PGO lib from ~/.mozbuild if available → Use the clang PGO lib from ~/.mozbuild if available (missing clang_rt.profile-x86_64.lib when building)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.