Tor hardening at compile time
andrew at torproject.org
andrew at torproject.org
Sat May 8 13:59:58 UTC 2010
On Fri, May 07, 2010 at 03:15:07PM +0200, jacob at appelbaum.net wrote 6.0K bytes in 166 lines about:
: You can use it like so:
: ./autogen.sh && ./configure --enable-gcc-warnings --enable-gcc-hardening
: --enable-linker-hardening && make && sudo make install
Here are the results from OSX 10.5 build machine:
CFLAGS="-O -g -mmacosx-version-min=10.4 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386"
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
CONFDIR=/Library/Tor ./configure --prefix=/Library/Tor
--bindir=/Library/Tor --sysconfdir=/Library
--disable-dependency-tracking gcc="4.0" --enable-gcc-warnings
--enable-gcc-hardening --enable-linker-hardening
configure: error: C compiler cannot create executables
attached is the config.log
--
Andrew Lewman
The Tor Project
pgp 0x31B0974B
Website: https://www.torproject.org/
Blog: https://blog.torproject.org/
Identi.ca: torproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.gz
Type: application/octet-stream
Size: 3143 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20100508/3dc6fae1/attachment.obj>
More information about the tor-dev
mailing list