[tor-bugs] #33624 [Core Tor/Tor]: Static building tor with openssl does not work

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 16 12:22:41 UTC 2020


#33624: Static building tor with openssl does not work
------------------------------+----------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.4.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  build static openssl
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+----------------------------------
 We have couple opened ticket about building OpenSSL statically: #31565 and
 #32871 are the one I could find.

 I've been working on this to measure the size of tor as a shared library
 for mobile environment for which we need to build tor with openssl and
 libevent statically.

 At current master, this is not working for build system and code reasons.

 This ticket is to address it all so we can close all other related
 tickets.

 Here is a raw tor.git diff that makes this work. There is still some think
 to consider especially with the `OPENSSL_VERSION`:

 https://gitlab.torproject.org/dgoulet/tor-library-
 size/blob/master/tor.diff

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


More information about the tor-bugs mailing list