Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #24197

Closed (moved)
Open
Opened Nov 09, 2017 by boklm@boklm

Building Windows 64 firefox with the sandbox enabled fails

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#24197