GCC PGO build fails - source locations for function XY have changed, the profile data may be out of date
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: stransky, Unassigned)
References
(Depends on 1 open bug)
Details
Firefox 106.0 fails to build with GCC/PGO:
128:20.60 /builddir/build/BUILD/firefox-106.0/objdir/dist/include/nsTArray.h:656:15: error: source locations for function ‘static void AssignRangeAlgorithm<IsTriviallyCopyConstructible, IsSameType>::implementation(ElemType*, IndexType, SizeType, const Item*) [with Item = nsTString<char16_t>; ElemType = nsTString<char16_t>; IndexType = long unsigned int; SizeType = long unsigned int; bool IsTriviallyCopyConstructible = false; bool IsSameType = true]’ have changed, the profile data may be out of date [-Werror=coverage-mismatch]
128:20.60 656 | static void implementation(ElemType* aElements, IndexType aStart,
Looks like header files in objdir/dist/include/ have changed between PGO build phases.
Comment 1•2 years ago
|
||
Looks like header files in objdir/dist/include/ have changed between PGO build phases.
Can you give more details?
Reporter | ||
Comment 2•2 years ago
|
||
Sure. I'm testing 106.0 clang PGO build right now to see if there's any difference.
(In reply to Martin Stránský [:stransky] (ni? me) from comment #2)
Sure. I'm testing 106.0 clang PGO build right now to see if there's any difference.
Any results form that test?
Reporter | ||
Comment 4•2 years ago
|
||
It's buried deep on my TODO list. Will look at it when I have a chance.
Updated•2 years ago
|
Bug 1029346 made so that these warnings are ignored for PGO builds I wonder if that should be done now too?
Reporter | ||
Comment 6•2 years ago
|
||
(In reply to Thaodan from comment #5)
Bug 1029346 made so that these warnings are ignored for PGO builds I wonder if that should be done now too?
I made the warnings ignored but it resulted to slow PGO code so the warnings are actually correct. Still on my TODO list for further investigation.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Description
•