[tor-bugs] #9699 [- Select a component]: tor curve25519 fail

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Sep 8 14:45:10 UTC 2013


#9699: tor curve25519 fail
----------------------------------+----------------------------------
 Reporter:  cypherpunks           |          Owner:
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:  Tor: unspecified
Component:  - Select a component  |        Version:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+----------------------------------
 Tor fails to compile on CentOS 5.9 unless I use --disable-curve25519 and I
 don't want to miss out on curve25519.

 This is compile fail with git from a few minutes ago:


 if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DTOR_UNIT_TESTS -I./src/ext -Isrc/ext
 -I./src/common -Isrc/common -I./src/or -Isrc/or
 -DSHARE_DATADIR="\"/usr/share\"" -DLOCALSTATEDIR="\"/usr/var\""
 -DBINDIR="\"/usr/bin\"" -I./src/common      -g -O2 -D_FORTIFY_SOURCE=2
 -fstack-protector-all -Wstack-protector -fwrapv --param ssp-buffer-size=1
 -fPIE -Wall -fno-strict-aliasing -MT src/common
 /src_common_libor_event_testing_a-compat_libevent.o -MD -MP -MF
 "src/common/.deps/src_common_libor_event_testing_a-compat_libevent.Tpo" -c
 -o src/common/src_common_libor_event_testing_a-compat_libevent.o `test -f
 'src/common/compat_libevent.c' || echo './'`src/common/compat_libevent.c;
 \
         then mv -f "src/common/.deps/src_common_libor_event_testing_a-
 compat_libevent.Tpo" "src/common/.deps/src_common_libor_event_testing_a-
 compat_libevent.Po"; else rm -f "src/common/.deps
 /src_common_libor_event_testing_a-compat_libevent.Tpo"; exit 1; fi
 rm -f src/common/libor-event-testing.a
 ar cru src/common/libor-event-testing.a src/common
 /src_common_libor_event_testing_a-compat_libevent.o
 ranlib src/common/libor-event-testing.a
 if gcc -DHAVE_CONFIG_H -I. -I. -I.  -I./src/ext -Isrc/ext -I./src/common
 -Isrc/common -I./src/or -Isrc/or -DSHARE_DATADIR="\"/usr/share\""
 -DLOCALSTATEDIR="\"/usr/var\"" -DBINDIR="\"/usr/bin\"" -I./src/common
 -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -fwrapv
 --param ssp-buffer-size=1 -fPIE -Wall -fno-strict-aliasing -MT
 src/ext/curve25519_donna/src_common_libcurve25519_donna_a-
 curve25519-donna-c64.o -MD -MP -MF "src/ext/curve25519_donna/.deps
 /src_common_libcurve25519_donna_a-curve25519-donna-c64.Tpo" -c -o
 src/ext/curve25519_donna/src_common_libcurve25519_donna_a-
 curve25519-donna-c64.o `test -f
 'src/ext/curve25519_donna/curve25519-donna-c64.c' || echo
 './'`src/ext/curve25519_donna/curve25519-donna-c64.c; \
         then mv -f "src/ext/curve25519_donna/.deps
 /src_common_libcurve25519_donna_a-curve25519-donna-c64.Tpo"
 "src/ext/curve25519_donna/.deps/src_common_libcurve25519_donna_a-
 curve25519-donna-c64.Po"; else rm -f "src/ext/curve25519_donna/.deps
 /src_common_libcurve25519_donna_a-curve25519-donna-c64.Tpo"; exit 1; fi
 src/ext/curve25519_donna/curve25519-donna-c64.c: In function
 ‘curve25519_donna’:
 src/ext/curve25519_donna/curve25519-donna-c64.c:451: error: unrecognizable
 insn:
 (insn 10003 10002 10004 20
 src/ext/curve25519_donna/curve25519-donna-c64.c:261 (parallel [
             (set (reg:CC 17 flags)
                 (unspec:CC [
                         (reg:DI 2 cx [orig:375 t$0.894 ] [375])
                         (const_int 2251799813685229 [0x7ffffffffffed])
                     ] 24))
             (set (reg:DI 2 cx [orig:375 t$0.894 ] [375])
                 (plus:DI (reg:DI 2 cx [orig:375 t$0.894 ] [375])
                     (const_int 2251799813685229 [0x7ffffffffffed])))
         ]) -1 (nil)
     (nil))
 src/ext/curve25519_donna/curve25519-donna-c64.c:451: internal compiler
 error: in extract_insn, at recog.c:2084
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
 Preprocessed source stored into /tmp/ccZzU4qG.out file, please attach this
 to your bugreport.
 make[1]: *** [src/ext/curve25519_donna/src_common_libcurve25519_donna_a-
 curve25519-donna-c64.o] Error 1
 make[1]: Leaving directory `/root/Tor/tor'
 make: *** [all] Error 2

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


More information about the tor-bugs mailing list