Bug#1020436: giac FTBFS with PARI 2.15.0

Bill Allombert ballombe at debian.org
Wed Oct 19 18:30:08 BST 2022


On Wed, Oct 19, 2022 at 09:27:23AM +0000, Tobias Hansen wrote:
> I tried rebuilding with this patch from sagemath:

Thanks!

> |diff --git a/src/pari.cc b/src/pari.cc index 76ce8e1..50d08ab 100644 --- a/src/pari.cc +++ b/src/pari.cc @@ -40,6 +40,13 @@ using namespace std; #ifdef HAVE_LIBPARI +// Anyarg disappeared from PARI 2.15.0 +#ifdef __cplusplus +# define ANYARG ... +#else +# define ANYARG +#endif + #ifdef HAVE_PTHREAD_H #include <pthread.h> #endif|
> 
> 
>   ***   the thread stack overflows !
>   current stack size: 1024000 (0.977 Mbytes)
>   [hint] set 'threadsizemax' to a nonzero value in your GPRC
>   *** matdet: Warning: increasing stack size to 2048000.
>   ***   at top-level: matdet([-10,-7,6,-7,1,4,-1,-2,-2,-5,1,7,-6,7,-
>   ***                 ^----------------------------------------------
>   *** matdet: the thread stack overflows !
>   current stack size: 1024000 (0.977 Mbytes)
>   [hint] set 'threadsizemax' to a nonzero value in your GPRC

Probably you just need to increase threadsize or parisize, 1024000 is very small.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the debian-science-maintainers mailing list