| Karim BELABAS on Sat, 29 Nov 2003 16:18:23 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: build failure with gcc 3.3 on x86 |
On Sat, 29 Nov 2003, Bill Allombert wrote:
> Recent changes from Karim cause PARI to be broken when compiled
> with gcc 3.3 on x86, see <http://pari.math.u-bordeaux.fr/buildlog.html>
>
> The following patch fix that.
>
> This is not a very good patch, but it explains the problem:
> oldrel point to a value in the cache but is not updated when the
> cache is reallocated. Apparently oldrel is used afterward.
Indeed. I have committed a slightly better patch.
The changes referred to by Bill are localized to bnfinit(). It's a complete
rewrite of the relation code handling, so as to avoid recomputing everything
from scratch when precision turns out to be too low.
Karim.
--
Karim Belabas Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425 Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France) http://pari.math.u-bordeaux.fr/ [PARI/GP]