Tor is free software and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.

The ports tree of FreeBSD 11 has the Tor marked broken as “BROKEN_powerpc64= does not build: error: Need a uint128_t implementation!” The port can be successfuly built using GNU Compiler Collection 5.

Install GCC5 on your FreeBSD.

# pkg install gcc5;

Add the following settings to the /etc/make.conf to be applied to every build where “make” is used.

.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc5)

Comment out the “BROKEN_powerpc64=” line in the /usr/ports/security/tor/Makefile.

#BROKEN_powerpc64= does not build: error: Need a uint128_t implementation!

Make and install the Tor port.

# cd /usr/ports/security/tor;
# make install clean;

Building should begin with no errors and in very first lines you should notice the following.

checking for gcc... gcc5

Verify if desired version has be installed.

# pkg info | grep ^tor-;
tor-                  Anonymizing overlay network for TCP

Startup the Tor daemon.

# service tor start;

Read and understand the Tor manual before enabling the service.

Send me a digital donation if you find this post valuable :-)
Wireless Intelligent Lifeform Keen on Accurate Repair and Troubleshooting