The background of the problem is that when python gets built LDSHARED gets defined in $EBROOTPYTHON/lib/python2.7/_sysconfigdata.py. If it is not overridden, that's the value used. That works fine in most cases. However, when mixing compilers (building Python with GCCcore but pandas with icc), that doesn't work, as the linker is gcc, but using intel flags.
We should consider explicitely setting the following variables in PythonPackage.py:
CC (already done)
CXX (already done)
OPT
CFLAGS (already done)
CCSHARED
LDSHARED
SO
AR
ARFLAGS
The background of the problem is that when python gets built
LDSHAREDgets defined in$EBROOTPYTHON/lib/python2.7/_sysconfigdata.py. If it is not overridden, that's the value used. That works fine in most cases. However, when mixing compilers (building Python withGCCcorebutpandaswithicc), that doesn't work, as the linker isgcc, but using intel flags.We should consider explicitely setting the following variables in
PythonPackage.py:CC(already done)CXX(already done)OPTCFLAGS(already done)CCSHAREDLDSHAREDSOARARFLAGS