Fail 1 test with GCC-5.2

Leif Leonhardy not.really at online.de
Thu Oct 15 16:25:49 UTC 2015


Torbjörn Granlund wrote:
> najera.oscar at gmail.com (Óscar Nájera) writes:
> 
>   Not sure how to report this bug.
> 
> Use your favourite search engine and type in e.g.:
> 
>    GMP reporting bugs
> 
> This will allow you to quickly find (among other things) that the
> version number of a software package is vital information.  :-)

> > /bin/sh: line 4: 23821 Segmentation fault      ${dir}$tst
> > FAIL: t-scan

Will these reports ever end? ;-)

I bet he tried to compile GMP 4.3.2 (with GCC 5.2).


Oscar, please use a recent version of GMP;  the test suite (i.e.,
t-scan) of the completely outdated GMP 4.3.2 contains a subtle bug such
that it'll fail with any GCC version >= 4.8.0.  It has been fixed years
ago, but the GCC guys still "recommend" that dead old, version.  (More
precisely, GCC's prerequisites page says "GMP 4.3.2 *or later*", but
their "GCC infrastructure" folder still only offers that version, dated
February 1st, 2010(!).  While it is indeed sufficient to /bootstrap
GCC/, and the library itself isn't affected by the bug, you'll certainly
want to use a more current one.)


-leif



More information about the gmp-bugs mailing list