On May 24, 2007, at 7:19 AM, Christian Maeder wrote:
Christian Maeder schrieb:
I can only offer to make a rebuild with any options that might help. May
it be a problem with the GMP framework? The one for downloading
(gmp-4.2.1) might be different from the one that's globally installed
here (gmp-4.2).

GMP (v7) used by ghc

$ otool -L ghc-6.6.1/lib/i386-apple-darwin/ghc-6.6.1
ghc-6.6.1/lib/i386-apple-darwin/ghc-6.6.1:
        GNUreadline.framework/Versions/A/GNUreadline (compatibility
version 5.0.0, current version 5.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.7)
        GMP.framework/Versions/A/GMP (compatibility version 7.0.0,
current version 7.0.0)

versus GMP (v8) on our download page:

$ otool -L ~/Library/Frameworks/GMP.framework/Versions/A/GMP
/home/maeder/Library/Frameworks/GMP.framework/Versions/A/GMP:
        GMP.framework/Versions/A/GMP (compatibility version 8.0.0,
current version 8.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.7)

I'm using version 7, which came with the binary distribution for ghc-6.6:

$ otool -L /Library/Frameworks/GMP.framework/Versions/A/GMP
/Library/Frameworks/GMP.framework/Versions/A/GMP:
GMP.framework/Versions/A/GMP (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.3)

I could try it with the later version of GMP, too, if you want.

Here's the gcc information:

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5450~6/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5450)

I don't know anything about ghc's internals, so I would need explicit instructions on what to look for in gdb if we pursue that route.

Deborah

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to