[Cython] Sage build broken

Stefan Behnel stefan_ml at behnel.de
Thu Feb 21 07:46:35 CET 2013


Hi,

I just noticed that the Sage build is broken:

"""
gcc -pthread -shared -L/jenkins/sage/sage-5.2/local/lib
build/temp.linux-x86_64-2.7/sage/rings/polynomial/polydict.o
-L/jenkins/sage/sage-5.2/local/lib -L/release/merger/sage-5.2/local/lib
-lcsage -lstdc++ -lntl -lpython2.7 -o
build/lib.linux-x86_64-2.7/sage/rings/polynomial/polydict.so

/usr/bin/ld: build/temp.linux-x86_64-2.7/sage/rings/polynomial/polydict.o:
relocation R_X86_64_PC32 against `__Pyx_PyDict_IterItems' can not be used
when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
command 'gcc' failed with exit status 1
"""

Looks like a problem in Sage to me, the gcc command really lacks the -fPIC
here.

Stefan


More information about the cython-devel mailing list