[tor-bugs] #10259 [Tor]: gcc 4.8 with CFLAGS=-Os generates infinite loop in smartlist_ensure_capacity()

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 4 06:12:53 UTC 2013


#10259: gcc 4.8 with CFLAGS=-Os generates infinite loop in
smartlist_ensure_capacity()
--------------------------+--------------------------------
     Reporter:  zougloub  |      Owner:  nick
         Type:  defect    |     Status:  new
     Priority:  normal    |  Milestone:
    Component:  Tor       |    Version:  Tor: 0.2.5.1-alpha
   Resolution:            |   Keywords:  compiler
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+--------------------------------

Comment (by zougloub):

 Working around the issue by patching configure.ac to add -fwrapv for gcc
 4.8.0-4.8.2 would help, but I can't appreciate how worthwhile it would be.
 Most distribution packages are compiled with gcc <= 4.7.x.
 Searching for "tor gcc 4.8" points to this bug report already.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10259#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list