[Top][All Lists]

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

Re: mpz_root assertion failure

From: Torbjorn Granlund
Subject: Re: mpz_root assertion failure
Date: 30 Nov 2002 17:01:25 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Jason Moxham <address@hidden> writes:

  On Saturday 30 Nov 2002 2:07 pm, Torbjorn Granlund wrote:
  > Jason Moxham <address@hidden> writes:
  >   the following program gives a error
  >   rootrem.c:153: GNU MP assertion failed: ! (un < pn || (un == pn &&
  > __gmpn_cmp (up, pp, pn) < 0))
  > I cannot reporoduce.
  > Platform?  GMP version?  Compilation options?  Please see
  > <http://swox.com/gmp/manual/Reporting-Bugs.html>
  gmp 4.1 + all patches
  ./config.guess is athlon-pc-linux-gnu
  ./configure --enable-mpfr --disable-shared --build=athlon-pc-linux-gnu 
  --host=athlon-pc-linux-gnu CC=gcc-3.2.1 CFLAGS="-O2 -fomit-frame-pointer 
  -march=athlon " --exec-prefix=/usr/local/athlon
  compile gmperr.c with
  gcc-3.2.1 gmperr.c -o gmperr /usr/local/athlon/lib/libgmp.a
This might be hard for somebody else to reproduce, since the
environment requires lots of work to set up.  I think we
need your help.

I tried GMP 4.1.1 (which is ready and waiting to be uploaded
to ftp.gnu.org) on an athlon-pc-freebsd system using gcc
2.95.  It does not fail.

This might be a bug in GMP, perhaps then a fioed bug.  Or it
might be a bug in gcc 3.2.1.

The first thing to try is to try a different compiler, or
use gcc 3.2.1 but disable optimization.  Could you please
try that?


reply via email to

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