[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #23436 [Applications/Tor Browser]: Error building firefox for Windows 64 in js/src/vm/TraceLogging.cpp
#23436: Error building firefox for Windows 64 in js/src/vm/TraceLogging.cpp
------------------------------------------+--------------------------------
Reporter: boklm | Owner: tbb-team
Type: task | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Keywords:
| TorBrowserTeam201709
Actual Points: | Parent ID: #23229
Points: | Reviewer:
Sponsor: |
------------------------------------------+--------------------------------
We are getting the following error when trying to build firefox for
Windows 64:
{{{
/var/tmp/dist/mingw-w64/helpers/x86_64-w64-mingw32-g++ -std=gnu++11
-mwindows -o TraceLogging.o -c -DNDEBUG=1 -DTRIMMED=1 -D_CRT_RAND_S
-DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES
'-DDLL_PREFIX=""' '-DDLL_SUFFIX=".dll"' -DFFI_BUILDING -DMOZ_HAS_MOZGLUE
-I/var/tmp/build/firefox-89417fed09e5/js/src -I/var/tmp/build/firefox-
89417fed09e5/obj-mingw/js/src -I/var/tmp/build/firefox-89417fed09e5/obj-
mingw/js/src/ctypes/libffi/include -I/var/tmp/build/firefox-
89417fed09e5/js/src/ctypes/libffi/src/x86 -I/var/tmp/build/firefox-
89417fed09e5/obj-mingw/dist/include -I/var/tmp/build/firefox-89417fed09e5
/obj-mingw/dist/include/nspr -DMOZILLA_CLIENT -include
/var/tmp/build/firefox-89417fed09e5/obj-mingw/js/src/js-confdefs.h -MD -MP
-MF .deps/TraceLogging.o.pp -Wall -Wc++11-compat -Wempty-body -Wignored-
qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-
limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof
-Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-
declarations -Wno-error=array-bounds -Wno-format -fno-lifetime-dse -mms-
bitfields -fno-rtti -fno-exceptions -fno-math-errno -pipe -g -O -fomit-
frame-pointer -Wno-shadow -Werror=format /var/tmp/build/firefox-
89417fed09e5/js/src/vm/TraceLogging.cpp
/var/tmp/build/firefox-89417fed09e5/js/src/vm/TraceLogging.cpp: In member
function 'js::TraceLoggerEventPayload*
js::TraceLoggerThread::getOrCreateEventPayload(TraceLoggerTextId, const
char*, size_t, size_t, const void*)':
/var/tmp/build/firefox-89417fed09e5/js/src/vm/TraceLogging.cpp:461:93:
error: format '%u' expects argument of type 'unsigned int', but argument 5
has type 'size_t {aka long long unsigned int}' [-Werror=format=]
snprintf(str, len + 1, "script %s:%" PRIuSIZE ":%" PRIuSIZE,
filename, lineno, colno);
^
/var/tmp/build/firefox-89417fed09e5/js/src/vm/TraceLogging.cpp:461:93:
error: format '%u' expects argument of type 'unsigned int', but argument 6
has type 'size_t {aka long long unsigned int}' [-Werror=format=]
cc1plus: some warnings being treated as errors
make[5]: *** [TraceLogging.o] Error 1
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23436>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs