#34002: octave-gsl @1.0.8 is using gcc46 and shouldn't be ------------------------------+--------------------------------------------- Reporter: liampg72@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: octave-gsl ------------------------------+--------------------------------------------- Comment(by liampg72@…): Replying to [comment:1 ryandesign@…]:
Please remember to use WikiFormatting.
The octave-gsl portfile makes no mention of gcc46; why is that compiler being used? Is octave-gsl perhaps inheriting the compiler from the gsl port?
Indeed, the log shows "Using compiler 'Mac OS X gcc 4.0'". That's why MacPorts is adding the -arch flags: because it believes it's going to be using a compiler that supports them. The problem that needs to be fixed is that octave-gsl is using gcc46 at all, not that -arch flags are being passed to it.
During the configure step, mkoctfile (built by the octave-devel port) is called to get the CC, CXX, etc flags from the octave installation. As octave-devel was built with +gcc46 (CXX=g++-mp-4.6), this is what is returned. It's here in the configure stage that it complains. octave-gsl basically inherits the compiler from the octave(-devel) port, and that uses gcc46! -- Ticket URL: <https://trac.macports.org/ticket/34002#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS