[tor-bugs] #9711 [Tor bundles/installation]: Test out crosstools-ng for Gitian OSX builds (instead of toolchain4 binaries)

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 9 15:39:10 UTC 2013


#9711: Test out crosstools-ng for Gitian OSX builds (instead of toolchain4
binaries)
------------------------------------------+-------------------------------
     Reporter:  mikeperry                 |      Owner:  erinn
         Type:  task                      |     Status:  needs_information
     Priority:  normal                    |  Milestone:
    Component:  Tor bundles/installation  |    Version:
   Resolution:                            |   Keywords:  tbb-3.0, gitian
Actual Points:                            |  Parent ID:
       Points:                            |
------------------------------------------+-------------------------------

Comment (by gk):

 Replying to [comment:8 mingwandroid]:
 [snip]

 > Should I use the 32bit version of the LTS?

 That does not matter as gitian is creating own VMs for building.

 [snip]

 > In general, how does gitian handle filestamp dependencies? I'm under the
 impression that it uses .so injection to force specific time functions to
 return the same thing, given that, I'm a little confused. Is there a
 mechanism to force some fixed negative delta onto files created by
 specific tools (tar and patch come to mind)?

 Mike, could you comment on that. I am not sure about the details...

 > > Now, what bothers me most, though, is that Firefox 24 is not working
 with a gcc4.2 anymore (at least Mozilla is saying that in the configure
 script and I don't have a reason to doubt that). I am under the impression
 that your cross-compilers are (by default) gcc4.2, no? If so, what are our
 options here? Are there non-interactive ways to change the gcc version?
 >
 > 4.2.1 was as the last GCC that Apple provided. They heavily patched this
 version (and made llvmgcc from it) and they never updated beyond that
 (understandable given the level and nature of patching, of course they
 could've opted to make their changes cleanly and worked with GCC core
 developers to upstream but I suspect GCC was something they worked on
 grudgingly). They switched from GCC to clang, so when you say that Firefox
 24 is not working with gcc4.2 anymore, I can only assume that for Mac,
 they switched to building with clang

 Yes, they did: https://bugzilla.mozilla.org/show_bug.cgi?id=733905

 > - or maybe llvmgcc, if you can determine the exact details of this it
 would be helpful, also can you find out it requires libc++?

 Will see what I can find.

 > When do you plan to switch over to Firefox 24?

 As soon as possible I think. TBB with Firefox 24 should be ready if the
 ESR 17 reaches its EOL (which is IIRC in about 7-8 weeks).

 > I will download your git repo, give it a test and study your logs at
 lunchtime. You didn't say whether you use the -arch flag or not, but no
 problem I can take a look.

 We use no -arch flags if I see it correctly.

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


More information about the tor-bugs mailing list