gmp hangs on "t-cdiv_ui" test while calculating gcd on MacOSX Lion

Marcello Maggioni hayarms at gmail.com
Tue Nov 15 23:28:01 CET 2011


2011/11/15 Torbjorn Granlund <tg at gmplib.org>:
> 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
>
> --
> Torbjörn
>

Tell me what you need. The bug doesn't make gmp crash, so I don't have
a crash backtrace, but I can provide part of the backtrace of polly
hanging with the problem:

(gdb) bt
#0  0x0000000101828422 in __gmpn_gcd_1 ()
#1  0x00000001018102ea in __gmpz_gcd ()
#2  0x0000000101cd0f33 in isl_aff_scale_down ()
#3  0x0000000101a5a175 in polly::MemoryAccess::MemoryAccess
(this=0x101911ed0, Access=@0x10190fc48, Statement=0x10190ffa0) at
/Users/Kariddi/Documents/Sviluppo/Tesi/llvm/tools/polly/lib/Analysis/ScopInfo.cpp:308
#4  0x0000000101a5b22a in polly::ScopStmt::buildAccesses
(this=0x10190ffa0, tempScop=@0x10190eb70, CurRegion=@0x10190eed0) at
/Users/Kariddi/Documents/Sviluppo/Tesi/llvm/tools/polly/lib/Analysis/ScopInfo.cpp:588
#5  0x0000000101a5bc08 in polly::ScopStmt::ScopStmt (this=0x10190ffa0,
parent=@0x10190fdf0, tempScop=@0x10190eb70, CurRegion=@0x10190eed0,
bb=@0x101905bd0, NestLoops=@0x7fff5fbfec20, Scatter=@0x7fff5fbfebe0)
at /Users/Kariddi/Documents/Sviluppo/Tesi/llvm/tools/polly/lib/Analysis/ScopInfo.cpp:716
#6  0x0000000101a5b86d in polly::ScopStmt::ScopStmt (this=0x10190ffa0,
parent=@0x10190fdf0, tempScop=@0x10190eb70, CurRegion=@0x10190eed0,
bb=@0x101905bd0, NestLoops=@0x7fff5fbfec20, Scatter=@0x7fff5fbfebe0)
at /Users/Kariddi/Documents/Sviluppo/Tesi/llvm/tools/polly/lib/Analysis/ScopInfo.cpp:699

Don't know what else I can provide, I don't use GMP directly and don't
know how to use it even, so sorry if I can't provide enough
information by myself, but just tell me what you could be of use to
you and I'll try whatever I can to provide it.

GMP version: 5.0.2

MacBook-Pro-di-Marcello:Tesi Kariddi$ uname -a
Darwin MacBook-Pro-di-Marcello.local 11.2.0 Darwin Kernel Version
11.2.0: Tue Aug  9 20:54:00 PDT 2011;
root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
MacBook-Pro-di-Marcello:Tesi Kariddi$

MacBook-Pro-di-Marcello:Tesi Kariddi$ gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with:
/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~1/src/configure
--disable-checking --enable-werror
--prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm-
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin11
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~1/dst-llvmCore/Developer/usr/local
--program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
--target=i686-apple-darwin11
--with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
MacBook-Pro-di-Marcello:Tesi Kariddi$

PS =Sorry for the other same but incomplete email I clicked "Send" for
error but gcc version and uname was not present


More information about the gmp-bugs mailing list