Bug report

Torbjorn Granlund tg at gmplib.org
Tue Jul 21 09:13:56 CEST 2009


Michael Kerber <mkerber at mpi-inf.mpg.de> writes:

  For your interest...
  
  ecg at infao1907 [514] uname -a
  Linux infao1907 2.6.29.3.1.amd64-smp #1 SMP Mon May 11 09:46:51 CEST
  2009 x86_64 GNU/Linux
  ecg at infao1907 [515] g++ --version
  g++ (Debian 4.3.2-1.1) 4.3.2
  Copyright (C) 2008 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  
  rootrem.c:338: GNU MP assertion failed: bn >= qn
  /bin/sh: line 4:   803 Aborted                 ${dir}$tst
  FAIL: reuse
  rootrem.c:338: GNU MP assertion failed: bn >= qn
  /bin/sh: line 4:   823 Aborted                 ${dir}$tst
  FAIL: t-root

If you used that C++ compiler, or used he same version of gcc (i,e,
4.3.2) then you've run into a compiler problem.  It is unfortunate that
Debian decided to stay with a compiler that cannot compile a vital gcc
component, GMP.

I think Vincent Lefevre created a small test case for this problem and
reported it to gcc.

Your options are to get gcc 4.3.3 or newer, or to stay with an older
version of GMP (which has a different version of the file 4.3.2
miscompiles).


More information about the gmp-bugs mailing list