gmp hangs on "t-cdiv_ui" test while calculating gcd on MacOSX Lion
Jack Howarth
howarth at bromo.med.uc.edu
Wed Nov 16 15:47:26 CET 2011
On Wed, Nov 16, 2011 at 08:05:03AM +0100, Torbjorn Granlund wrote:
> Jack Howarth <howarth at bromo.med.uc.edu> writes:
>
> On Tue, Nov 15, 2011 at 11:02:33PM +0100, Torbjorn Granlund wrote:
> > Marcello Maggioni <hayarms at gmail.com> writes:
> >
> > Is the problem already known? There is a fix for this?
> >
> > The problem with bug reports which contains little useful information is
> > well-known.
> >
> > But there is a fix, read the manual's chapter about bug reporting:
> > http://gmplib.org/manual/Reporting-Bugs.html
> >
>
> Marcello,
> This is due to a bug in gmp 5.0.2, since fixed in gmp svn, which
> caused configure to improperly set RODATA for the llvm-gcc compiler.
>
> It is not a bug in GMP when it fails to be compatible with quirks of a
> compiler.
>
> And why are you guessing that llvm-gcc is involved?
You are forgetting the history of this bug. Please review...
http://gmplib.org/list-archives/gmp-bugs/2011-July/002306.html
http://gmplib.org/list-archives/gmp-bugs/2011-July/002308.html
The fix applied to gmp trunk has never been rolled out in a gmp 5.0.3
release so that users need to stick with clang as the build compiler under
Lion (and now also Xcode 4.2 in Snow Leopard which also defaults to llvm-gcc as well).
As for gmp trunk, I didn't realize that it was forked for a gmp 5.1 release now
so of course the user would want the new gmp-5.0 branch...
which has the typo in acinclude.m4 fixed with this commit...
http://gmplib.org:8000/gmp-5.0/rev/f2696e1e4635
>
> You either need to build gmp 5.0.2 with clang or use the gmp trunk
> instead.
>
> What is the "gmp trunk"? If this is the main GMP repository, then this
> is poor advice.
>
> --
> Torbjörn
More information about the gmp-bugs
mailing list