Closed
Bug 1481005
Opened 8 years ago
Closed 8 years ago
Perma-failing tier2 z:\build\build\src\obj-firefox\dist\include\mozilla/Alignment.h(29): error C2220: warning treated as error - no 'object' file generated
Categories
(Firefox Build System :: General, defect, P5)
Firefox Build System
General
Tracking
(firefox63 fixed)
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: bryce)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
Filed by: apavel [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=192047664&repo=mozilla-central
https://queue.taskcluster.net/v1/task/MqE9oyK3SqKF4x9d3w7Vmw/runs/0/artifacts/public/logs/live_backing.log
12:59:42 INFO - Unified_cpp_reflect_xptinfo0.cpp
12:59:42 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/xpcom/reflect/xptinfo'
12:59:42 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/js/src'
12:59:42 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/js/src'
12:59:42 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/js/src'
12:59:42 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/js/src'
12:59:43 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/xpcom/reflect/xptcall'
12:59:43 INFO - z:/build/build/src/obj-firefox/_virtualenvs/init/Scripts/python.exe -m mozbuild.action.cl z:/build/build/src/vs2017_15.6.6/VC/bin/Hostx64/x64/cl.exe -Foxptcall.obj -c -Iz:/build/build/src/obj-firefox/dist/stl_wrappers -DDEBUG=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -Iz:/build/build/src/xpcom/reflect/xptcall -Iz:/build/build/src/obj-firefox/xpcom/reflect/xptcall -Iz:/build/build/src/obj-firefox/dist/include -Iz:/build/build/src/obj-firefox/dist/include/nspr -Iz:/build/build/src/obj-firefox/dist/include/nss -MD -FI z:/build/build/src/obj-firefox/mozilla-config.h -DMOZILLA_CLIENT -utf-8 -TP -nologo -w15038 -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 -W3 -Gy -Zc:inline -Gw -wd4251 -wd4244 -wd4267 -wd4800 -wd4595 -wd4065 -we4553 -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -GR- -Zi -O1 -Oi -Oy- -WX -Fdgenerated.pdb -FS z:/build/build/src/xpcom/reflect/xptcall/xptcall.cpp
12:59:43 INFO - xptcall.cpp
12:59:43 INFO - z:\build\build\src\obj-firefox\dist\include\mozilla/Alignment.h(29): error C2220: warning treated as error - no 'object' file generated
12:59:43 INFO - z:\build\build\src\obj-firefox\dist\include\mozilla/Alignment.h(32): note: see reference to class template instantiation 'mozilla::AlignmentFinder<nsXPTCVariant::ExtendedVal>::Aligner' being compiled
12:59:43 INFO - z:\build\build\src\xpcom\reflect\xptcall\xptcall.h(126): note: see reference to class template instantiation 'mozilla::AlignmentFinder<nsXPTCVariant::ExtendedVal>' being compiled
12:59:43 INFO - z:\build\build\src\obj-firefox\dist\include\mozilla/Alignment.h(29): warning C4624: 'mozilla::AlignmentFinder<nsXPTCVariant::ExtendedVal>::Aligner': destructor was implicitly defined as deleted
12:59:43 INFO - z:/build/build/src/config/rules.mk:1086: recipe for target 'xptcall.obj' failed
12:59:43 INFO - mozmake.EXE[4]: *** [xptcall.obj] Error 2
12:59:43 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/xpcom/reflect/xptcall'
12:59:43 INFO - z:/build/build/src/config/recurse.mk:74: recipe for target 'xpcom/reflect/xptcall/target' failed
12:59:43 INFO - mozmake.EXE[3]: *** [xpcom/reflect/xptcall/target] Error 2
12:59:43 INFO - mozmake.EXE[3]: *** Waiting for unfinished jobs....
12:59:43 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/config/external/icu/common'
12:59:43 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/config/external/icu/common'
12:59:43 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/config/external/icu/common'
12:59:43 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/config/external/icu/common'
12:59:43 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/config/external/icu/i18n'
12:59:43 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/config/external/icu/i18n'
12:59:43 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/config/external/icu/i18n'
12:59:43 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/config/external/icu/i18n'
12:59:43 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/config/external/icu/common'
12:59:43 INFO - z:/build/build/src/obj-firefox/_virtualenvs/init/Scripts/python.exe -m mozbuild.action.cl z:/build/build/src/vs2017_15.6.6/VC/bin/Hostx64/x64/cl.exe -Founormcmp.obj -c -DDEBUG=1 -DU_COMMON_IMPLEMENTATION -DUCONFIG_NO_TRANSLITERATION -DUCONFIG_NO_REGULAR_EXPRESSIONS -DUCONFIG_NO_LEGACY_CONVERSION -DU_USING_ICU_NAMESPACE=0 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DU_CHARSET_IS_UTF8 -DU_HAVE_NL_LANGINFO_CODESET=0 -DU_DEBUG=1 -Iz:/build/build/src/config/external/icu/common -Iz:/build/build/src/obj-firefox/config/external/icu/common -Iz:/build/build/src/intl/icu/source/i18n -Iz:/build/build/src/obj-firefox/dist/include -Iz:/build/build/src/obj-firefox/dist/include/nspr -Iz:/build/build/src/obj-firefox/dist/include/nss -MD -FI z:/build/build/src/obj-firefox/mozilla-config.h -DMOZILLA_CLIENT -utf-8 -TP -nologo -w15038 -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 -W3 -Gy -Zc:inline -Gw -wd4251 -wd4244 -wd4267 -wd4800 -wd4595 -wd4065 -we4553 -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -GR- -Zi -O1 -Oi -Oy- -GR -wd4005 -wd4333 -wd4996 -Fdgenerated.pdb -FS z:/build/build/src/intl/icu/source/common/unormcmp.cpp
12:59:43 INFO - cl : Command line warning D9025 : overriding '/GR-' with '/GR'
12:59:43 INFO - unormcmp.cpp
Comment 1•8 years ago
|
||
Broke on windows msvc builds - Possibly related to Bug 1480624 ?
Flags: needinfo?(nika)
Flags: needinfo?(continuation)
Comment 2•8 years ago
|
||
(I triggered a Bmsvc for win2012 debug on the initial inbound push to verify: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=8376dfb0af8293dfbb1550aed3b614c9c681523b&filter-searchStr=Bmsvc
Comment 3•8 years ago
|
||
Seems like this indeed started after Bug 1480624 landed: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&filter-searchStr=Bmsvc&tochange=8376dfb0af8293dfbb1550aed3b614c9c681523b&fromchange=ef7547cbfdf858cb6c507e142d57fd4c3be17dac
Since then this is permafailling but only on debug: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=success&filter-searchStr=bmsvc&fromchange=4146a5857135b8542858b9e23bc5a71237e05f49&tochange=37b33c4f58b9372ad8d4fa969ad7a86ae305790a&selectedJob=192047664
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 5•8 years ago
|
||
To add to the above, I'm seeing the changes from bug 1480624 lead to this issue with local MSVC builds. Verified by backing out the changes.
Highlighting the issue in comment #0 / the logs:
>>12:59:43 INFO - xptcall.cpp
>>12:59:43 INFO - z:\build\build\src\obj-firefox\dist\include\mozilla/Alignment.h(29): error C2220: warning treated as error - no 'object' file generated
>>12:59:43 INFO - z:\build\build\src\obj-firefox\dist\include\mozilla/Alignment.h(32): note: see reference to class template instantiation 'mozilla::AlignmentFinder<nsXPTCVariant::ExtendedVal>::Aligner' being compiled
>>12:59:43 INFO - z:\build\build\src\xpcom\reflect\xptcall\xptcall.h(126): note: see reference to class template instantiation 'mozilla::AlignmentFinder<nsXPTCVariant::ExtendedVal>' being compiled
>12:59:43 INFO - z:\build\build\src\obj-firefox\dist\include\mozilla/Alignment.h(29): warning C4624: 'mozilla::AlignmentFinder<nsXPTCVariant::ExtendedVal>::Aligner': destructor was implicitly defined as deleted
| Assignee | ||
Comment 6•8 years ago
|
||
Looking a little deeper. Suspect MSVC is unhappy when it tries to handle one of the new lines[0] from bug 1480624. MOZ_ALIGNOF(nsXPTCVariant::ExtendedVal) -> AlignmentFinder with T=nsXPTCVariant::ExtendedVal -> Aligner with a nsXPTCVariant::ExtendedVal member. Since nsXPTCVariant::ExtendedVal has a deleted dtor, compiler decides that said specialisation of Aligner has an implicitly deleted dtor and we get this unhappiness.
[0]: https://searchfox.org/mozilla-central/rev/3fdc491e118c5cdfbaf6e2d52f3466d2b27ad1de/xpcom/reflect/xptcall/xptcall.h#124
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 8•8 years ago
|
||
| Assignee | ||
Comment 9•8 years ago
|
||
Bug 1480624 added new code that results in a warning on MSVC debug builds. This
warning is treated as an error and makes such builds unhappy. The warning is
due to implicit deletion of a dtor, this changeset makes that deletion
explicit to avoid the fatal warning.
Updated•8 years ago
|
Assignee: nobody → bvandyk
Comment 11•8 years ago
|
||
Comment on attachment 8998234 [details]
Bug 1481005 - Explicitly delete dtor of AlignmentFinder::Alinger to avoid MSVC warning breaking debug builds.
Nathan Froyd [:froydnj] has approved the revision.
https://phabricator.services.mozilla.com/D2865
Attachment #8998234 -
Flags: review+
Comment 12•8 years ago
|
||
Pushed by bvandyk@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/76baf773b83e
Explicitly delete dtor of AlignmentFinder::Alinger to avoid MSVC warning breaking debug builds. r=froydnj
Comment 13•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
| Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Flags: needinfo?(continuation)
| Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•