[prev in list] [next in list] [prev in thread] [next in thread]
List: gmp-bugs
Subject: gmp hangs on "t-cdiv_ui" test while calculating gcd on MacOSX Lion
From: howarth () bromo ! med ! uc ! edu (Jack Howarth)
Date: 2011-11-16 14:47:26
Message-ID: 20111116144726.GA31486 () bromo ! med ! uc ! edu
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic