summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-31 07:51:02 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-31 07:51:02 +0000
commit676cfbbf8404c62c420223f5aee4bd8c5e69cee0 (patch)
tree0b8341a397909bdf8a94f050765bc0073d4d0691 /ChangeLog
parentec9c0597578f543e328646cfb9a664d9bc0748e2 (diff)
downloadtor-676cfbbf8404c62c420223f5aee4bd8c5e69cee0.tar.gz
tor-676cfbbf8404c62c420223f5aee4bd8c5e69cee0.zip
When building with GCC, use -fno-strict-aliasing
GCC's interpretation of the C99 aliasing rules, to be charitable, creates a dialect of C intended for a better programmers than I am certain of my ability to be in all times. I just spent 2 hours tracking down a platform-hyperspecific libevent bug that turned out to be because of this, and darned if I ever want to do *that* again. One of Linus's recent rants will give you a picture of why GCC's behavior here can lead to fun surprises in your binaries: http://lwn.net/Articles/316126/ svn:r18351
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 788658da5b..b9a932aa50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,6 +32,11 @@ Changes in version 0.2.1.12-alpha - 2009-02-??
- Add a 'getinfo status/clients-seen' controller command, in case
controllers want to hear clients_seen events but connect late.
+ o Build changes
+ - Disable GCC's strict alias optimization by default, to avoid the
+ likelihood of its introducing subtle bugs whenever our code violates
+ the letter of C99's alias rules.
+
Changes in version 0.2.1.11-alpha - 2009-01-20
o Security fixes: