[tor-bugs] #3909 [Tor Client]: Tor 0.2.2.32 no longer cross compile (to iOS)

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Sep 2 10:50:35 UTC 2011


#3909: Tor 0.2.2.32 no longer cross compile (to iOS)
------------------------+---------------------------------------------------
 Reporter:  sid77       |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |        Version:  Tor: 0.2.2.32     
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 Since version 0.2.2.32 I can no longer cross compile Tor to iOS.
 Configure step is fine, build step runs smooth up until the linking phase,
 from the build log:
 {{{
  ...
  arm-apple-darwin9-gcc -DHAVE_CONFIG_H -I. -I../.. ...
  mv -f .deps/config_codedigest.Tpo ...
  rm -f libtor.a
  ar cru libtor.a buffers.o ...
  arm-apple-darwin9-ranlib libtor.a
  ...
 }}}
 as you can see, the program "ar" is called instead of "arm-apple-
 darwin9-ar" causing quite some problems as architectures are being mixed
 and matched ;-)
 If I prepend to my $PATH an "ar" which is a symlink to "arm-apple-
 darwin9-ar" everything builds fine.
 I can reproduce the behavior while cross compiling to iOS but I suppose it
 could happen with other architectures as no patches are needed to build
 the program under such operating system.

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


More information about the tor-bugs mailing list