[tor-bugs] #3639 [Tor Client]: tor-0.2.3.x: enabling upnp or nat-pmp with LDFLAGS += --as-needed fails to link

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Jul 30 20:42:53 UTC 2011


#3639: tor-0.2.3.x: enabling upnp or nat-pmp with LDFLAGS += --as-needed fails to
link
------------------------+---------------------------------------------------
 Reporter:  blueness    |          Owner:  blueness          
     Type:  defect      |         Status:  needs_review      
 Priority:  normal      |      Milestone:                    
Component:  Tor Client  |        Version:  Tor: 0.2.3.1-alpha
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
Changes (by rransom):

  * status:  accepted => needs_review


Comment:

 This patch can't make things any worse on Windows, and might help.  But
 the real bug here is that we aren't explicitly listing `-lm` after
 `.../libor.a` on systems that require that for access to certain
 mathematical functions.  (But this needs to be autodetected -- `-lm` is
 not required everywhere, and I would expect using it to break the build on
 Windows.)

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


More information about the tor-bugs mailing list