Bugs with GMP 4.2.1

Alfons Hoogervorst alfons.hoogervorst at gmail.com
Mon Jan 22 21:31:14 CET 2007


While compiling GMP I get the following failed 2 tests:

bit.c:231: GNU MP assertion failed: ((x)->_mp_size) == 0 ||
((x)->_mp_d)[((((x)->_mp_size)) >= 0 ? (((x)->_mp_size)) :
-(((x)->_mp_size))) - 1] != 0
FAIL: bit

mpz_popcount wrong on single bit at 33
   got 0, want 1
FAIL: t-popcount

Using a fairly obscene gcc 3.3.1 command line, though using this really for
ages when compiling  KDE  3.x (which I have been tracking from CVS for years
with the same command lines):

export CFLAGS="-w -march=i686 -mcpu=i686 -O3 -pipe -fforce-addr
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer
-malign-functions=4 -fstrict-aliasing
-Wl,-z,combreloc"
export CXXFLAGS="-w -march=i686 -mcpu=i686 -O3 -pipe -fforce-addr
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer
-malign-functions=4 -fstrict-aliasin
g -Wl,-z,combreloc"

Bye,

-- 
Ecuación algebraico sin solución posible,
a menos de poseer profundos conocimientos
en matemática - Revueltas (Ocho Por Radio)
            <http://www.strncpy.org>
[NOTE: gmail adds a REPLY-TO header]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-bugs/attachments/20070122/1d16a9c9/attachment.html 


More information about the gmp-bugs mailing list