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

Re: [tor-bugs] #9829 [Tor bundles/installation]: Firefox ESR 24 does need a newer compiler than gcc 4.2



#9829: Firefox ESR 24 does need a newer compiler than gcc 4.2
------------------------------------------+-------------------------------
     Reporter:  gk                        |      Owner:  erinn
         Type:  defect                    |     Status:  new
     Priority:  normal                    |  Milestone:
    Component:  Tor bundles/installation  |    Version:
   Resolution:                            |   Keywords:  tbb-3.0, ff24-esr
Actual Points:                            |  Parent ID:  #9827
       Points:                            |
------------------------------------------+-------------------------------

Comment (by mingwandroid):

 ld64 is the next generation linker that Apple developed to be 64bit
 capable (and to interface with clang/llvm for link time optimization). It
 can handle 32bit just fine though and the old linker (now called ld
 classic) should be avoided.

 These toolchains are multilib-enabled, meaning that irrespective of
 whether the host compilers are 32bit or 64bit, when targeting (Intel)
 Darwin, they can generate both i686 and x86_64 object files. In-fact, as
 with native Darwin clang, you can build 'fat' executables that contain
 binaries for both 32bit and 64bit in a single invocation as follows:

 i686-apple-darwin10-clang -arch i386 -arch x86_64 blah.c
 or:
 i686-apple-darwin10-clang++ -arch i386 -arch x86_64 blah.cpp

 (to pass different per-arch flags should you need to, you can use the
 -Xarch flag)

 Is gitian builder 64bit capable? 64bit host toolchain *should* be possible
 (I built one a few months ago). You need to remove the "-m32" options from
 crosstool.config for this (and perhaps a few other options).

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9829#comment:45>
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