From the log sent to me in a private email:
[sagelib-10.1] gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g
-O2 -fPIC -Isage/cpython
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cysignals
-I/home/ayan/programs/sage-10.1/src
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/numpy/core/include
-I/usr/include/python3.11
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/include
-I/usr/include/python3.11 -c sage/stats/time_series.c -o
build/temp.linux-x86_64-cpython-311/sage/stats/time_series.o
[sagelib-10.1] /usr/bin/ld: ///usr/local/lib/libntl.a(ZZ.o):
relocation R_X86_64_32S against `.rodata' can not be used when making a
shared object; recompile with -fPIC
[sagelib-10.1] /usr/bin/ld: failed to set dynamic section sizes: bad
value
[sagelib-10.1] collect2: error: ld returned 1 exit status
We are looking at a "local" installation of NTL [not sage provided]
which does not have the right properties.
I would recommend uninstalling it and build the version shipped with sage.
François
On 27/10/23 20:15, Ayan Mahalanobis wrote: