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

Re: [tor-bugs] #12811 [Tor Browser]: Compiling ESR 31 is broken with mingw-w64 based on GCC 4.8.3



#12811: Compiling ESR 31 is broken with mingw-w64 based on GCC 4.8.3
-------------------------+-------------------------------------------------
     Reporter:  gk       |      Owner:  gk
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:
    Component:  Tor      |    Version:
  Browser                |   Keywords:  tbb-gitian, ff31-esr,
   Resolution:           |  TorBrowserTeam201408
Actual Points:           |  Parent ID:  #12460
       Points:           |
-------------------------+-------------------------------------------------

Comment (by gk):

 Seems we need a newer tag/mingw-w64 revision. Using GCC 4.9.0 and
 mingw-w64 solves the issue in comment 3. Using GCC 4.9.x might be smart
 anyway given our hardening projects. Now I hit:
 {{{
 /home/ubuntu/build/tor-browser/media/libyuv/source/cpu_id.cc: In function
 'int libyuv::TestOsSaveYmm()':
 /home/ubuntu/build/tor-browser/media/libyuv/source/cpu_id.cc:101:9: error:
 expected '(' before '{' token
    __asm {
          ^
 /home/ubuntu/build/tor-browser/media/libyuv/source/cpu_id.cc:102:5: error:
 expected primary-expression before 'xor' token
      xor        ecx, ecx    // xcr 0
      ^
 /home/ubuntu/build/tor-browser/media/libyuv/source/cpu_id.cc:102:16:
 error: 'ecx' was not declared in this scope
      xor        ecx, ecx    // xcr 0
                 ^
 make[5]: *** [cpu_id.o] Error 1
 }}}

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