[tor-bugs] #14982 [Tor]: fails to establish connections due to gcc 5.0 bug/feature with -O3
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Feb 21 15:53:26 UTC 2015
#14982: fails to establish connections due to gcc 5.0 bug/feature with -O3
------------------------+--------------------------------
Reporter: Safari | Owner:
Type: defect | Status: new
Priority: major | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version: Tor: 0.2.6.3-alpha
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+--------------------------------
Comment (by yawning):
This looks like a GCC bug, someone should check to see if they know about
it and if not, file one.
I'm not sure if "add a ton of internal tests to see if the compiler
generated correct code" makes a whole lot of sense, since as you noted,
the issue is caught by the test suite. There's no guarantee that the rest
of the code is actually being compiled correctly either at this point...
My initial thoughts on this matter are to add a workaround if GCC ships an
actual release with this problem. Otherwise, anyone that braves using a
development snapshot compiler (or builds tor with non-standard CFLAGS)
should be running unit tests.
It's a nickm decision though, so hopefully he sees this soon.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14982#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list