Bill Allombert on Wed, 09 May 2012 21:33:57 +0200


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

Re: Errors in poliscycloprod


On Wed, May 09, 2012 at 06:28:30PM +0200, Karim Belabas wrote:
> * Charles Greathouse [2012-05-09 14:48]:
> > Further, on the Windows git version,
> > 
> > ? poliscycloprod(x^3-1)
> >   ***   at top-level: poliscycloprod(x^3-1
> >   ***                 ^--------------------
> >   *** poliscycloprod: the PARI stack overflows !
> >   current stack size: 157286400 (150.000 Mbytes)
> >   [hint] you can increase GP stack with allocatemem()
> > 
> > which seems to happen for x^k - 1 for all k not a power of 2.
> 
> I can't reproduce that one. I get no compiler warning and valgrind doesn't
> show anything suspect.
> 
> Can you try to investigate ?

There is a maybe different issue on Linux 32bit without GMP, gcc 4.3.5 -O3.
make test-cyclo fails (stack overflow) , see the buildlog.

May 09 03:27:31  BUG      0      2.6.0    d1d257d   i686     linux  ix86   gcc  4.3.5

(Note that I use gcc 4.6.3 on windows)

Cheers,
Bill.