[MacPorts] #24942: py26-numpy 1.4.1 undefined symbols in lapack_litemodule
MacPorts
noreply at macports.org
Tue May 18 07:03:52 PDT 2010
#24942: py26-numpy 1.4.1 undefined symbols in lapack_litemodule
-------------------------------------+--------------------------------------
Reporter: and.damore@… | Owner: mcalhoun@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.99
Keywords: | Port: py26-numpy
-------------------------------------+--------------------------------------
While upgrading py26-numpy 1.4.1 mp gets a lot of undefined symbols,
here's an excerpt:
{{{
creating build/temp.macosx-10.6-x86_64-2.6/numpy/linalg
compile options: '-DATLAS_INFO="\"3.8.3\"" -I/opt/local/include
-Inumpy/core/include
-Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/src/multiarray
-Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/src/umath -c'
gcc-mp-4.3: numpy/linalg/python_xerbla.c
gcc-mp-4.3: numpy/linalg/lapack_litemodule.c
/opt/local/bin/gfortran -Wall
build/temp.macosx-10.6-x86_64-2.6/numpy/linalg/lapack_litemodule.o
build/temp.macosx-10.6-x86_64-2.6/numpy/linalg/python_xerbla.o
-L/opt/local/lib -L/opt/local/lib/gcc43/gcc/x86_64-apple-darwin10/4.3.4
-Lbuild/temp.macosx-10.6-x86_64-2.6 -llapack -lptf77blas -lptcblas -latlas
-lgfortran -o build/lib.macosx-10.6-x86_64-2.6/numpy/linalg/lapack_lite.so
Undefined symbols:
"_PyExc_ValueError", referenced from:
_xerbla_ in python_xerbla.o
"_PyDict_SetItemString", referenced from:
_initlapack_lite in lapack_litemodule.o
"_PyErr_Print", referenced from:
_initlapack_lite in lapack_litemodule.o
"_Py_InitModule4_64", referenced from:
_initlapack_lite in lapack_litemodule.o
"_PyType_IsSubtype", referenced from:
_check_object in lapack_litemodule.o
"_PyModule_GetDict", referenced from:
_initlapack_lite in lapack_litemodule.o
"_PyArg_ParseTuple", referenced from:
_lapack_lite_zungqr in lapack_litemodule.o
_lapack_lite_zgeqrf in lapack_litemodule.o
_lapack_lite_zpotrf in lapack_litemodule.o
_lapack_lite_zgetrf in lapack_litemodule.o
}}}
The problem seems to be related to atlas, variant '+no_atlas' installs
succesfully with both apple gcc 4.2 and mp gcc43.
Using the atlas port the build fails with different error output according
to use of +no_gcc43 variant, missing symbols are the same but each
symbols is referred much many times.
I'm attaching debug output for numpy build without any variants.
--
Ticket URL: <http://trac.macports.org/ticket/24942>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list