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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs