[tbb-bugs] #21328 [Applications/Tor Browser]: Move to clang 3.8.0 for Tor Browser's clang-based macOS toolchain

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 14 20:35:54 UTC 2017

#21328: Move to clang 3.8.0 for Tor Browser's clang-based macOS toolchain
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  task                                 |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-gitian, ff52-esr, tbb-7.0-must,  |  Actual Points:
  TorBrowserTeam201703, GeorgKoppen201703        |
Parent ID:  #21147                               |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor4

Comment (by gk):

 Okay, here is my plan. clang 3.8.0 requires GCC 4.8 which our current host
 system does not have. So, we actually have two options to fix that:

 1) We build a recent enough GCC (or clang for that matter) first and then
 build our clang. That could be tricky and time-consuming given a non-
 standard location of that GCC and its related libs
 (https://btorpey.github.io/blog/2015/01/02/building-clang/ has a fancy
 tutorial for that).

 2) We could just use Debian Jessie (which comes with GCC 4.9) instead of
 Debian Wheezy. I tried that today and it worked as expected.

 I think I'll do 2) and spend a bit time on getting rid of the old macOS
 toolchain which allows us to get rid of i386 VMs in the macOS build
 process. I am almost done with a respective patch for #10369 which is the
 bulk of that work. Then we only need to adapt the PT descriptor (i.e. we
 need to switch to using clang instead of GCC).

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

More information about the tbb-bugs mailing list