Firefox-89.0beta fails to build with gcc-11.1.0
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
People
(Reporter: zarniwhoop, Unassigned)
Details
Attachments
(1 file)
20.06 KB,
text/x-log
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Tried to build 89.0b13 with gcc-11.1.0 and g++-11.1.0.
Actual results:
Failed to compile Unified_cpp_accessible_aom0.cpp.
0:43.89 /scratch/working/firefox-89.0/firefox-build-dir/dist/include/nsTHashtable.h:432:8: note: candidate: 'template<class F> std::invoke_result_t<F, nsTHashtable<EntryType>::EntryHandle&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, F&&) [with F = F; EntryType = detail::VoidPtrHashKey]'
0:43.89 432 | auto WithEntryHandle(KeyType aKey, F&& aFunc)
0:43.89 | ^~~~~~~~~~~~~~~
0:43.89 /scratch/working/firefox-89.0/firefox-build-dir/dist/include/nsTHashtable.h:432:8: note: template argument deduction/substitution failed:
0:43.89 /scratch/working/firefox-89.0/firefox-build-dir/dist/include/nsTHashtable.h:317:27: note: candidate expects 2 arguments, 3 provided
0:43.89 317 | return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
0:43.89 | ^
0:43.89 318 | return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
0:43.89 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:43.89 319 | });
0:43.89 | ~~
Expected results:
I expected it to compile - some earlier 89.0betas compiled with gcc-10 and with clang-12.0.0.
Attaching the full messages for this file from the log
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•4 years ago
|
Description
•