Karim BELABAS on Wed, 12 Jun 2002 16:16:06 +0200 (MEST)

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

Re: 64bit HPUX binary buggy

On Wed, 12 Jun 2002, Igor Schein wrote:

> On Wed, Jun 12, 2002 at 02:01:59PM +0200, Karim BELABAS wrote:
> > On Tue, 11 Jun 2002, Igor Schein wrote:
> > > I compiled a 64bit gp binary on HPUX 11, but it's badly broken -
> > > a command as simple as bnfinit(x^2-2) keeps doubling the stack.
> > > I'd like to debug it, but I need some pointers on where to set
> > > breakpoints, what to look for, etc.
> nfinit(x^2-2) and other simpler commands work fine and yield the same
> result as on other 64bit architectures.  It's specifically bnfinit()
> that is completely shut down.  All diffs in make bench are related to
> bnfinit() not working.

Nice... OK, set \g2, run the broken binary, and diff the log with the correct
one (other 64bit). Where do they diverge ? (if possible try \g3, etc. but you
will get an enormous amount of useless information from LLL, try to pinpoint
the precise point where it breaks down).

Also bnfinit(x^2+1) would not be broken, by any chance ? (much easier to
debug, no units).

Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathematiques, Bat. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas
PARI/GP Home Page: http://www.parigp-home.de/