[MacPorts] #22689: openvpn2-2.0.9 Compiling with gcc-4.2 leads to wrong behaviour

MacPorts noreply at macports.org
Wed Nov 25 13:47:34 PST 2009


#22689: openvpn2-2.0.9 Compiling with gcc-4.2 leads to wrong behaviour
------------------------------------------------+---------------------------
 Reporter:  wickedguitar6@…                     |       Owner:  macports-tickets@…                   
     Type:  defect                              |      Status:  new                                  
 Priority:  Normal                              |   Milestone:                                       
Component:  ports                               |     Version:  1.8.1                                
 Keywords:  openvpn2, default_gateway, gcc-4.0  |        Port:  openvpn2                             
------------------------------------------------+---------------------------
 There is a bug which leads to wrong detection of the default_gateway
 (0.0.0.0) when the three following conditions apply:
 1) openvpn2-2.0.9 is compiled with gcc-4.2 (the default on Mac OS X 10.6)
 2) It is used as a client
 3) 'push "redirect-gateway def1"' is used on the server side (e.g. a
 linux-box)

 When the openvpn-2.0.9 is compiled with gcc-4.0 the bug does not occur.
 Default_gateway is detected correctly. However the gcc-4.0 compiler is not
 aware of the lzo2 library and openvpn must be configured with "--disable-
 lzo".

-- 
Ticket URL: <http://trac.macports.org/ticket/22689>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list