[tbb-bugs] #24197 [Applications/Tor Browser]: Building Windows 64 firefox with the sandbox enabled fails

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 9 11:51:32 UTC 2017


#24197: Building Windows 64 firefox with the sandbox enabled fails
------------------------------------------+----------------------
     Reporter:  boklm                     |      Owner:  tbb-team
         Type:  task                      |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:  tbb-rbm
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+----------------------
 When trying to build Tor Browser for Windows 64 with the firefox sandbox
 enabled, firefox fails to build with the following error:
 {{{
 /var/tmp/dist/mingw-w64/helpers/x86_64-w64-mingw32-g++ -std=gnu++11
 -mwindows -o file_path.o -c   -DNDEBUG=1 -DTRIMMED=1 -DUNICODE -D_UNICODE
 -DNS_NO_XPCOM -D_CRT_RAND_S -DCHROMIUM_SANDBOX_BUILD -I/var/tmp/build
 /firefox-a99a3504e931/security/sandbox -I/var/tmp/build/firefox-
 a99a3504e931/obj-mingw/security/sandbox -I/var/tmp/build/firefox-
 a99a3504e931/security/sandbox/chromium-shim -I/var/tmp/build/firefox-
 a99a3504e931/security/sandbox/chromium -I/var/tmp/build/firefox-
 a99a3504e931/nsprpub -I/var/tmp/build/firefox-a99a3504e931/obj-
 mingw/dist/include  -I/var/tmp/build/firefox-a99a3504e931/obj-
 mingw/dist/include/nspr -I/var/tmp/build/firefox-a99a3504e931/obj-
 mingw/dist/include/nss         -DMOZILLA_CLIENT -include /var/tmp/build
 /firefox-a99a3504e931/obj-mingw/mozilla-config.h -MD -MP -MF
 .deps/file_path.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 -fno-
 exceptions -fno-strict-aliasing -mms-bitfields -fno-rtti -fno-exceptions
 -fno-math-errno -pipe  -g -O -fomit-frame-pointer    /var/tmp/build
 /firefox-a99a3504e931/security/sandbox/chromium-
 shim/base/files/file_path.cpp
 In file included from /var/tmp/build/firefox-
 a99a3504e931/security/sandbox/chromium/base/files/file_path.h:113:0,
                  from /var/tmp/build/firefox-a99a3504e931/security/sandbox
 /chromium-shim/base/files/file_path.cpp:9:
 /var/tmp/build/firefox-
 a99a3504e931/security/sandbox/chromium/base/containers/hash_tables.h: In
 member function 'std::size_t base_hash::hash<T*>::operator()(T*) const':
 /var/tmp/build/firefox-
 a99a3504e931/security/sandbox/chromium/base/containers/hash_tables.h:79:43:
 error: no match for call to '(__gnu_cxx::hash<long long unsigned int>)
  (uintptr_t)'
          reinterpret_cast<uintptr_t>(value));
                                            ^
 /var/tmp/build/firefox-a99a3504e931/nsprpub/pr/src/io/prpolevt.c: In
 function 'PR_NewPollableEvent':
 /var/tmp/build/firefox-a99a3504e931/nsprpub/pr/src/io/prpolevt.c:121:14:
 warning: variable 'rv' set but not used [-Wunused-but-set-variable]
      PRStatus rv;
               ^
 make[5]: *** [file_path.o] Error 1
 make[5]: Leaving directory `/var/tmp/build/firefox-a99a3504e931/obj-
 mingw/security/sandbox'
 make[4]: *** [security/sandbox/target] Error 2
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24197>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list