[MacPorts] #19366: Apple GCC pathologically slow
#19366: Apple GCC pathologically slow -------------------------------+-------------------------------------------- Reporter: dave@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: -------------------------------+-------------------------------------------- * Install openssh with macports * time an scp some large-ish directory from a remote host * launch a linux VM on the same hardware * time the same scp * compare My results: openssh on the Mac is roughly half the speed of openssh on Linux. Now: * install gcc43 and gcc_select with macports * gcc_select mp-gcc43 * {{{port upgrade -f openssh}}} * run the timing test again My results: timing approximately identical to Linux. My conclusions: When MacPorts is installed, it should force-install and use a stock gcc. Failing that, all the installation guides should be updated to note that you might want to do that before installing anything else. -- Ticket URL: <http://trac.macports.org/ticket/19366> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19366: Apple GCC pathologically slow -------------------------------+-------------------------------------------- Reporter: dave@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by dave@…): Sorry, title should've been "Apple GCC generates slow code" -- Ticket URL: <http://trac.macports.org/ticket/19366#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19366: Apple GCC pathologically slow -------------------------------+-------------------------------------------- Reporter: dave@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by mcalhoun@…): If they are working correctly, ports do not start using a different compiler just because gcc_select has been changed.[[BR]] If you use the debug option (port -df upgrade openssh) you should be able to see which compiler is being used.[[BR]] Did you do something special to force the the gcc_select compiler to be used?[[BR]] If not, then I am not sure the results say anything about the Apple GCC. -- Ticket URL: <http://trac.macports.org/ticket/19366#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19366: Apple GCC pathologically slow -------------------------------+-------------------------------------------- Reporter: dave@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by dave@…): Gah! You're right! No, it's not choosing the gcc_select compiler. I'm once again at a total loss to explain the discrepancy I've seen. -- Ticket URL: <http://trac.macports.org/ticket/19366#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19366: Apple GCC pathologically slow --------------------------------+------------------------------------------- Reporter: dave@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => invalid Comment: This is puzzling.[[BR]] Since this might not be a MacPorts problem, I will close this ticket for now. If it turns out it is a MacPorts problem, we can reopen. -- Ticket URL: <http://trac.macports.org/ticket/19366#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts