Bill Allombert on Thu, 7 Nov 2002 21:01:45 +0100


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

Re: CVS branch gmp-kernel-2-2-5


On Thu, Nov 07, 2002 at 01:00:19PM -0500, Igor Schein wrote:
> On Wed, Nov 06, 2002 at 03:00:59PM +0100, Bill Allombert wrote:
> > Hello PARI developers,
> > 
> > I have commited the gmp kernel patch in a new branch named
> > gpm-kernel-2-2-5
> > 
> > This include the change to the t_INT API.
> > 
> > To switch your repository to this branch, use
> > cvs update -d -r gpm-kernel-2-2-5.
> > 
> > 
> > To use the GMP kernel, you need to have gmp in a standard location.  you can do
> > ./Configure --kernel=gmp 
> > but it is advisable to have both kernel along, so issue
> > ./Configure --kernel=gmp --builddir=O<osname-arch>-gmp
> > to build the gmp kernel version in O<osname-arch>-gmp.
> 
> ? rnfconductor(bnfinit(y^3-2),polsubcyclo(31,10));
> Segmentation fault

Fixed in the CVS. Thanks. The symptoms was
?  Mod(2^32,2^32)^-1
zsh: segmentation fault  Olinux-i686-gmp.dbg/gp-sta
I forgot to check if the Mod() is not null before calling
mpn_gcdext which SEGV on null input.

> And the session dies.

I do not now exactly why it dies. It is inside the gmp code.

Cheers,
Bill.