[tor-bugs] #9869 [Tor]: build process with --host=arm-unknown-linux-gnueabihf tries to compile curve25519-donna-c64.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 2 01:46:11 UTC 2013


#9869: build process with --host=arm-unknown-linux-gnueabihf tries to compile
curve25519-donna-c64.c
------------------------------------+----------------------------------
 Reporter:  sqrt2                   |          Owner:
     Type:  defect                  |         Status:  new
 Priority:  normal                  |      Milestone:
Component:  Tor                     |        Version:  Tor: unspecified
 Keywords:  armv6 curve25519 build  |  Actual Points:
Parent ID:                          |         Points:
------------------------------------+----------------------------------
 Trying to build Tor 0.2.5.x with a cross-compiling toolchain and
 `./configure --host=arm-unknown-linux-gnueabihf`, the build process stops
 with the following error (followed by a number of warnings about bitshifts
 exceeding type width):

 `  CC     src/ext/curve25519_donna/src_common_libcurve25519_donna_a-
 curve25519-donna-c64.o`

 `src/ext/curve25519_donna/curve25519-donna-c64.c:35:1: error: unable to
 emulate 'TI'`

 `typedef unsigned uint128_t attribute((mode(TI)));`

 curve25519-donna-c64.c is the curve25519 implementation for 64 bit
 platforms and shouldn't be built for arm.

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


More information about the tor-bugs mailing list