Closed Bug 1446396 Opened 6 years ago Closed 6 years ago

Intermittent /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:822:30: error: no matching function for call to 'find(void**, void**, void*&)'

Categories

(Core :: mozglue, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1435816

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: ncsoregi [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=168508082&repo=autoland

https://queue.taskcluster.net/v1/task/Mj3ORBuiRfm4xz3QxAhcbg/runs/0/artifacts/public/logs/live_backing.log

[task 2018-03-16T14:00:34.586Z] 14:00:34     INFO -  make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/mozglue/build'
[task 2018-03-16T14:00:34.588Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/sccache2/sccache /builds/worker/workspace/build/src/mingw32/bin/i686-w64-mingw32-g++ -mwindows -o WindowsDllBlocklist.o -c -DDEBUG=1 -DIMPL_MFBT -DMOZ_HAS_MOZGLUE -I/builds/worker/workspace/build/src/mozglue/build -I/builds/worker/workspace/build/src/obj-firefox/mozglue/build -I/builds/worker/workspace/build/src/memory/build -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-unknown-pragmas -Wno-unused-function -Wno-conversion-null -Wno-switch -Wno-enum-compare -fno-sized-deallocation -fno-exceptions -fno-strict-aliasing -mms-bitfields -mstackrealign -fno-keep-inline-dllexport -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -fno-omit-frame-pointer  -MD -MP -MF .deps/WindowsDllBlocklist.o.pp   /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp
[task 2018-03-16T14:00:34.588Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp: In function 'bool ShouldBlockThread(void*)':
[task 2018-03-16T14:00:34.588Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:822:30: error: no matching function for call to 'find(void**, void**, void*&)'
[task 2018-03-16T14:00:34.588Z] 14:00:34     INFO -                   aStartAddress) != gStartAddressesToBlock->end()) {
[task 2018-03-16T14:00:34.589Z] 14:00:34     INFO -                                ^
[task 2018-03-16T14:00:34.590Z] 14:00:34     INFO -  In file included from /builds/worker/workspace/build/src/mingw32/i686-w64-mingw32/include/c++/6.4.0/bits/locale_facets.h:48:0,
[task 2018-03-16T14:00:34.590Z] 14:00:34     INFO -                   from /builds/worker/workspace/build/src/mingw32/i686-w64-mingw32/include/c++/6.4.0/bits/basic_ios.h:37,
[task 2018-03-16T14:00:34.590Z] 14:00:34     INFO -                   from /builds/worker/workspace/build/src/mingw32/i686-w64-mingw32/include/c++/6.4.0/ios:44,
[task 2018-03-16T14:00:34.592Z] 14:00:34     INFO -                   from /builds/worker/workspace/build/src/mingw32/i686-w64-mingw32/include/c++/6.4.0/ostream:38,
[task 2018-03-16T14:00:34.592Z] 14:00:34     INFO -                   from /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Maybe.h:22,
[task 2018-03-16T14:00:34.592Z] 14:00:34     INFO -                   from /builds/worker/workspace/build/src/mozglue/build/Authenticode.h:10,
[task 2018-03-16T14:00:34.592Z] 14:00:34     INFO -                   from /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:26:
[task 2018-03-16T14:00:34.593Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mingw32/i686-w64-mingw32/include/c++/6.4.0/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
[task 2018-03-16T14:00:34.593Z] 14:00:34     INFO -       find(istreambuf_iterator<_CharT> __first,
[task 2018-03-16T14:00:34.593Z] 14:00:34     INFO -       ^~~~
[task 2018-03-16T14:00:34.594Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mingw32/i686-w64-mingw32/include/c++/6.4.0/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
[task 2018-03-16T14:00:34.594Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:822:30: note:   mismatched types 'std::istreambuf_iterator<_CharT>' and 'void**'
[task 2018-03-16T14:00:34.594Z] 14:00:34     INFO -                   aStartAddress) != gStartAddressesToBlock->end()) {
[task 2018-03-16T14:00:34.595Z] 14:00:34     INFO -                                ^
[task 2018-03-16T14:00:34.595Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp: In function 'void DllBlocklist_Initialize(uint32_t)':
[task 2018-03-16T14:00:34.595Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:930:27: error: invalid conversion from 'FARPROC {aka int (__attribute__((__stdcall__)) *)()}' to 'void*' [-fpermissive]
[task 2018-03-16T14:00:34.596Z] 14:00:34     INFO -       pProc = GetProcAddress(hKernel, "LoadLibraryA");
[task 2018-03-16T14:00:34.596Z] 14:00:34     INFO -               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
[task 2018-03-16T14:00:34.596Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:935:27: error: invalid conversion from 'FARPROC {aka int (__attribute__((__stdcall__)) *)()}' to 'void*' [-fpermissive]
[task 2018-03-16T14:00:34.596Z] 14:00:34     INFO -       pProc = GetProcAddress(hKernel, "LoadLibraryW");
[task 2018-03-16T14:00:34.597Z] 14:00:34     INFO -               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
[task 2018-03-16T14:00:34.597Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:940:27: error: invalid conversion from 'FARPROC {aka int (__attribute__((__stdcall__)) *)()}' to 'void*' [-fpermissive]
[task 2018-03-16T14:00:34.597Z] 14:00:34     INFO -       pProc = GetProcAddress(hKernel, "LoadLibraryExA");
[task 2018-03-16T14:00:34.597Z] 14:00:34     INFO -               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2018-03-16T14:00:34.598Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:945:27: error: invalid conversion from 'FARPROC {aka int (__attribute__((__stdcall__)) *)()}' to 'void*' [-fpermissive]
[task 2018-03-16T14:00:34.598Z] 14:00:34     INFO -       pProc = GetProcAddress(hKernel, "LoadLibraryExW");
[task 2018-03-16T14:00:34.598Z] 14:00:34     INFO -               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2018-03-16T14:00:34.599Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:932:44: warning: ignoring return value of 'bool mozilla::Vector<T, N, AllocPolicy>::append(U&&) [with U = void*&; T = void*; unsigned int MinInlineCapacity = 4u; AllocPolicy = mozilla::MallocAllocPolicy]', declared with attribute warn_unused_result [-Wunused-result]
[task 2018-03-16T14:00:34.599Z] 14:00:34     INFO -         gStartAddressesToBlock->append(pProc);
[task 2018-03-16T14:00:34.599Z] 14:00:34     INFO -                                              ^
[task 2018-03-16T14:00:34.599Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:937:44: warning: ignoring return value of 'bool mozilla::Vector<T, N, AllocPolicy>::append(U&&) [with U = void*&; T = void*; unsigned int MinInlineCapacity = 4u; AllocPolicy = mozilla::MallocAllocPolicy]', declared with attribute warn_unused_result [-Wunused-result]
[task 2018-03-16T14:00:34.599Z] 14:00:34     INFO -         gStartAddressesToBlock->append(pProc);
[task 2018-03-16T14:00:34.600Z] 14:00:34     INFO -                                              ^
[task 2018-03-16T14:00:34.600Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:942:44: warning: ignoring return value of 'bool mozilla::Vector<T, N, AllocPolicy>::append(U&&) [with U = void*&; T = void*; unsigned int MinInlineCapacity = 4u; AllocPolicy = mozilla::MallocAllocPolicy]', declared with attribute warn_unused_result [-Wunused-result]
[task 2018-03-16T14:00:34.600Z] 14:00:34     INFO -         gStartAddressesToBlock->append(pProc);
[task 2018-03-16T14:00:34.600Z] 14:00:34     INFO -                                              ^
[task 2018-03-16T14:00:34.600Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:947:44: warning: ignoring return value of 'bool mozilla::Vector<T, N, AllocPolicy>::append(U&&) [with U = void*&; T = void*; unsigned int MinInlineCapacity = 4u; AllocPolicy = mozilla::MallocAllocPolicy]', declared with attribute warn_unused_result [-Wunused-result]
[task 2018-03-16T14:00:34.601Z] 14:00:34     INFO -         gStartAddressesToBlock->append(pProc);
[task 2018-03-16T14:00:34.601Z] 14:00:34     INFO -                                              ^
[task 2018-03-16T14:00:34.601Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/config/rules.mk:1045: recipe for target 'WindowsDllBlocklist.o' failed
[task 2018-03-16T14:00:34.601Z] 14:00:34     INFO -  make[4]: *** [WindowsDllBlocklist.o] Error 1
[task 2018-03-16T14:00:34.601Z] 14:00:34     INFO -  make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/mozglue/build'
[task 2018-03-16T14:00:34.601Z] 14:00:34     INFO -  /builds/worker/workspace/build/src/config/recurse.mk:73: recipe for target 'mozglue/build/target' failed
[task 2018-03-16T14:00:34.601Z] 14:00:34     INFO -  make[3]: *** [mozglue/build/target] Error 2
[task 2018-03-16T14:00:34.601Z] 14:00:34     INFO -  make[3]: *** Waiting for unfinished jobs....
Flags: needinfo?(tom)
Flags: needinfo?(ccorcoran)
My bad, I will fix this one with a new patch.
Flags: needinfo?(ccorcoran)
Flags: needinfo?(aklotz)
Flags: needinfo?(tom)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.