[tor-bugs] #16412 [Tor]: Tor fails to compile on OSX when libscrypt is installed

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 23 16:47:38 UTC 2015


#16412: Tor fails to compile on OSX when libscrypt is installed
------------------------+--------------------------------
     Reporter:  rl1987  |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:  Tor: 0.2.7.1-alpha
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by rl1987):

 Are you using GCC-based toolchain instead of LLVM-based toolchain? When I
 run configure, I am getting the following lines:

 {{{
 checking size of int8_t... 0
 checking size of int16_t... 0
 checking size of int32_t... 0
 checking size of int64_t... 0
 checking size of uint8_t... 0
 checking size of uint16_t... 0
 checking size of uint32_t... 0
 checking size of uint64_t... 0
 checking size of intptr_t... 0
 checking size of uintptr_t... 0
 checking size of char... 0
 checking size of short... 0
 checking size of int... 0
 checking size of long... 0
 checking size of long long... 0
 checking size of __int64... 0
 checking size of void *... 0
 checking size of time_t... 0
 checking size of size_t... 0
 checking size of pid_t... 0
 }}}

 Any idea how configuring with libscrypt causes configure to think that all
 of above are 0? I tried to do some hacking to work around this issue (see
 https://github.com/rl1987/tor/commits/bug1641_hax), but no luck so far.
 Editing configure.ac to check type sizes early fixes this exact problem,
 but causes error about 2's complement number to surface.

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


More information about the tor-bugs mailing list