[tor-bugs] #7975 [Tor]: Tor 0.2.4.9 fails to compile on EL5.8/x86_64

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Feb 2 19:56:42 UTC 2013


#7975: Tor 0.2.4.9 fails to compile on EL5.8/x86_64
---------------------+------------------------------------------------------
 Reporter:  hiviah   |          Owner:                    
     Type:  defect   |         Status:  new               
 Priority:  blocker  |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor      |        Version:                    
 Keywords:           |         Parent:                    
   Points:           |   Actualpoints:                    
---------------------+------------------------------------------------------
Changes (by cypherpunks):

  * priority:  normal => blocker


Comment:

 Current Git also fails.

 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:449: error: unrecognizable
 insn:
 (insn 10003 10002 10004 20
 src/ext/curve25519_donna/curve25519-donna-c64.c:259 (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:449: 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/cch9noZV.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

 More alarming: Tor has the ./configure option --disable-curve25519 and Tor
 also fails with this option is in effect:

 gcc  -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector
 -fwrapv --param ssp-buffer-size=1 -fPIE -Wall -fno-strict-aliasing  -pie
 -z relro -z now -o src/or/tor  src/or/tor_main.o src/or/libtor.a
 src/common/libor.a src/common/libor-crypto.a  src/common/libor-event.a -lz
 -lm -levent -lssl -lcrypto  -lrt -ldl
 src/or/libtor.a(routerparse.o): In function
 `microdescs_parse_from_string':
 /root/Tor/tor/src/or/routerparse.c:4265: undefined reference to
 `curve25519_public_from_base64'
 src/or/libtor.a(routerparse.o): In function
 `router_parse_entry_from_string':
 /root/Tor/tor/src/or/routerparse.c:1293: undefined reference to
 `curve25519_public_from_base64'
 collect2: ld returned 1 exit status
 make[1]: *** [src/or/tor] Error 1
 make[1]: Leaving directory `/root/Tor/tor'
 make: *** [all] Error 2

 Building with --disable-curve25519 really should not make Tor fail on
 curve.

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


More information about the tor-bugs mailing list