[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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 mingwandroid):

 Replying to [comment:22 gk]:
 > Okay, in case it helps:
 > {{{
 > Gitian relies on libfaketime to set the clock to a fixed value to deal
 with embedded timestamps in archives and in the build process.
 > }}}
 > See: https://blog.torproject.org/blog/deterministic-builds-part-two-
 technical-details and see:
 https://github.com/wolfcw/libfaketime/blob/master/README for how
 libfaketime works (basically via LD_PRELOAD; and we are setting FAKETIME
 to "2000-01-01 00:00:00")
 >
 > That said, even if there is a lot of regenerating going on I currently
 don't see why Makefile.config should be _missing_ because of this. Thus, I
 am not sure whether dealing with the faketime issue is sufficient to solve
 this particular problem.

 There's continual regeneration of Makefile.config in the presence of
 recursive make (-j5). So I can easily imagine that at various points
 Makefile.config does not exist. Removing and re-writing a file is not a
 multithread-safe atomic operation.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9711#comment:24>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs