/usr/bin/ld: PARI_stack_limit: TLS definition in /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libpari.so section .tbss mismatches non-TLS reference in .libs/pari.o
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libpari.so: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:521: recipe for target 'libgiac.la' failed
make[3]: *** [libgiac.la] Error 1
This happens if you build pari with pthread support. We are using this patch in Arch:
https://git.archlinux.org/svntogit/community.git/tree/trunk/giac-pari-thread.patch?h=packages/giac
Would be nice if we could all agree to bring these issues to this list (besides the distro-specific ones). Otherwise it's kind of pointless to have it and we end up duplicating work.