Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #3909
Closed (moved) (moved)
Open
Issue created Sep 02, 2011 by Trac@tracbot

Tor 0.2.2.32 no longer cross compile (to iOS)

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.

Trac:
Username: sid77

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking