[tor-bugs] #20352 [Applications/Tor Browser]: Integrate sandboxed Tor Browser into our gitian build system

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 21 11:58:33 UTC 2016


#20352: Integrate sandboxed Tor Browser into our gitian build system
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  task                                 |         Status:  new
 Priority:  High                                 |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-gitian, tbb-sandboxing,          |  Actual Points:
  GeorgKoppen201611, TorBrowserTeam201611        |
Parent ID:  #19750                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by gk):

 The compiler does not like your stub code it seems:
 {{{
 gcc -shared -pthread -Os -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-
 protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIC -Wall
 -Werror -Wextra -Wl,-z,relro,-z,now src/tbb_stub/tbb_stub.c -o
 data/tbb_stub.so
 src/tbb_stub/tbb_stub.c: In function 'stub_init':
 src/tbb_stub/tbb_stub.c:197:3: error: implicit declaration of function
 'secure_getenv' [-Werror=implicit-function-declaration]
 src/tbb_stub/tbb_stub.c:197:22: error: initialization makes pointer from
 integer without a cast [-Werror]
 src/tbb_stub/tbb_stub.c:198:24: error: initialization makes pointer from
 integer without a cast [-Werror]
 cc1: all warnings being treated as errors
 make: *** [tbb_stub] Error 1
 }}}

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


More information about the tor-bugs mailing list