[MacPorts] #42676: py27-scipy @0.13.3_0: import scipy.linalg fails with Symbol not found: _acc_cdotc_sub__
MacPorts
noreply at macports.org
Thu Apr 10 09:47:42 PDT 2014
#42676: py27-scipy @0.13.3_0: import scipy.linalg fails with Symbol not found:
_acc_cdotc_sub__
-----------------------------+--------------------
Reporter: andre.girard@… | Owner: sean@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: py-scipy |
-----------------------------+--------------------
Comment (by sean@…):
A few things:
* I observed opportunistic linking with ATLAS which will definitely need
to be fixed
* The extra underscore is from:
https://github.com/scipy/scipy/blob/master/scipy/_build_utils/src/wrap_g77_abi_c.c#L3
This is why I hate fortran. Unless you want to keep a mapping of which
fortran compilers put underscores on different systems, you can't know
beforehand what the name mangling will be. This explains why linking with
ATLAS works because this file is only compiled when linking with
Accelerate. Somehow `numpy.distutils` is providing `-fno-second-
underscore` for the fixed-form compiler but not every fortran compiler. I
should have a fix soon.
--
Ticket URL: <https://trac.macports.org/ticket/42676#comment:34>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list