[MacPorts] #35141: py*-scipy + gcc45: ___ieee_divdc3 symbol not found
MacPorts
noreply at macports.org
Thu Aug 15 06:26:26 PDT 2013
#35141: py*-scipy + gcc45: ___ieee_divdc3 symbol not found
--------------------------------+--------------------------------
Reporter: andre.dos.anjos@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Resolution: | Keywords:
Port: py26-scipy |
--------------------------------+--------------------------------
Comment (by wimmer@…):
Replying to [comment:12 Peter.Danecek@…]:
> Replying to [comment:10 wimmer@…]:
> > Let me note that I get the same problem for python 2.7 on OSX 10.8
when I install from source using "port install -s py27-scipy", instead of
installing the prebuilt version. I looked into the problem, and figured
out that the problem is due to the fact that scipy compiles all code with
the macports gcc/gfortran, but when building the shared library object
spline.so links with clang - hence the symbol {{{___ieee_divdc3}}} which
is specific to gcc is not found. In fact, clang is used for all modules
based on C-code (not Fortran code). You can see this in the attached
build.log.
>
> Well, if this is really due to the fact that clang is used for linking,
why this would happen on a 10.5 system?
> As far as I remember there is no clang, yet.
It is clang on my 10.8, could be gcc-4.2 on 10.5, for example. Also, it
might depend on the python version, as different python versions have
different logic on figuring out which compiler to use (python usually
wants to compile things with the same compiler as it is compiled itself)
... it is possible that the problem for python2.7 only shows up since a
very recent update of python2.7.
In any case {{{___ieee_divdc3}}} is apparently a GNU gcc symbol, and the
error is also in the previous cases probably due to the linker not linking
against the GNU gcc libraries (as probably an Apple compiler was used for
linking).
--
Ticket URL: <https://trac.macports.org/ticket/35141#comment:14>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list