[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9699 [Tor]: tor curve25519 fail
#9699: tor curve25519 fail
-----------------------------+------------------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: unspecified
Component: Tor | Version:
Resolution: | Keywords: tor-client
Actual Points: | Parent ID:
Points: |
-----------------------------+------------------------------
Comment (by tmpname0901):
I had no problems building curve25519-donna-c64 on multiple CentOS 5.9
(x86_64) systems.
I'll take a stab at guessing what is different between your environment
and mine: I'm building with gcc44, not the default CentOS5 GCC 4.1.x
development tools.
Do this to install the newer devel tools:
yum -y install gcc44 gcc44-c++ binutils220
Then specify gcc44 as your compiler:
export CC=gcc44
export CXX=g++44
and CPU type of "native":
CFLAGS='-O2 -g -march=native -mno-avx"
CFLAGS='-O2 -g -march=native -mno-avx"
The CPU type referred to above is optional. GCC will attempt to optimize
the code to match the capabilities of your CPU. This doesn't work in a
KVM VPS, but it is generally a Good Thing. The "-mno-avx" is because the
assembler doesn't understand the AVX instruction set.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9699#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs