bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: None


From: Paul Zimmermann
Subject: Re: None
Date: Fri, 13 Dec 2002 17:45:28 +0100

> thank you for providing gmp. I am facing a problem that I can't
> solve, and therefore I suspect it could be a bug in gmp. I tried to follow
> the instructions given on http://swox.com/gmp/manual/Reporting-Bugs.html.:

It seems the problem is not a bug in gmp, but due to the fact that by default,
gmp allocates temporary space in the stack, whose default limit is too small
for your program.

Workarounds:
1 - increase the stack size limit (unlimit stacksize under Unix)
  I tried it and it works: I got a determinant 215497210...0000000
  after 90s on a Athlon MP2000+.
2 - [not tested] configure gmp with --disable-alloca: this forces to use 
  malloc() for temporary allocation.

Hope it helps,
Paul Zimmermann



reply via email to

[Prev in Thread] Current Thread [Next in Thread]