[tor-bugs] #26323 [Applications/Tor Browser]: Build 32bit Linux bundles on 64bit systems

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 5 11:37:00 UTC 2019


#26323: Build 32bit Linux bundles on 64bit systems
-------------------------------------------+-------------------------------
 Reporter:  gk                             |          Owner:  tbb-team
     Type:  task                           |         Status:
                                           |  needs_revision
 Priority:  Very High                      |      Milestone:
Component:  Applications/Tor Browser       |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  tbb-rbm, TorBrowserTeam201903  |  Actual Points:
Parent ID:  #26468                         |         Points:
 Reviewer:                                 |        Sponsor:
-------------------------------------------+-------------------------------

Comment (by gk):

 Replying to [comment:19 boklm]:
 > Replying to [comment:15 gk]:
 > > Replying to [comment:14 boklm]:
 > > > There are two patches for review in branch `bug_26323_v7`:
 > > > https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_26323_v7&id=676f75ecb97484368b340ee5d355aa422c2b0a7c
 > >
 > > `tor` compilation for nightly builds breaks in this case with
 > > {{{
 > > configure: error: TOR_RUST_TARGET must be specified when cross-
 compiling with Rust enabled.
 > > }}}
 >
 > Oh, I forgot to test the nightly target.
 >
 > >
 > > > I think a possible improvement we can do after this, is to share the
 gcc and rust builds between linux32 and linux64.
 > >
 > > Hm, what is missing here? In particular, I wonder what the issue with
 GCC is as the build script at least should be the same (modulo the
 different hash in the bundle name that stems from somewhere else).
 >
 > Yes, GCC is built exactly in the same way in both cases, the only
 difference is the list of packages installed in the containers, and the
 `dpkg --add-architecture i386` we only run in the i686 case (which are
 causing the hash in the filename to differ).

 That means we need to have two containers for that. Then I think we just
 can fold the i686 stuff that does make a difference into the x86_64 parts,
 so that we can avoid having two containers and two GCCs.

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


More information about the tor-bugs mailing list