gmp 4.3.2 regressions when compiled with llvm-gcc
Jack Howarth
howarth at bromo.med.uc.edu
Thu Mar 31 17:52:02 CEST 2011
Since Apple is shifting towards llvm-gcc/clang, issues with those compilers should
be examined on darwin10. The gmp 4.3.2 build on x86_64-apple-darwin10 completes under
Xcode 4.0.1 using...
setenv CC llvm-gcc
setenv CXX llvm-g++
cd gmp-4.3.2
mkdir build
cd build
../configure --prefix=/usr ABI=64 --enable-cxx
However the make check for the build fails two test cases...
/bin/sh: line 1: 8474 Segmentation fault ${dir}$tst
FAIL: t-hamdist
/bin/sh: line 1: 8513 Segmentation fault ${dir}$tst
FAIL: t-popcount
These failures have been reported upstream to llvm.org as...
http://llvm.org/bugs/show_bug.cgi?id=9596
Using the prebuilt llvm-gcc-4.2 2.8 x86_64 binaries on x86_64 Fedora 14
I don't see this problem but that machine has an opteron and uses -mtune=k9
in the gmp 4.3.2 build with llvm-gcc.
The gmp 5.0.1 build also completes but the testsuite failures are somewhat
different with a hang during the make check at...
PASS: t-cdiv_ui
Both of these issues also exist with llvm-gcc-4.2 2.9 on x86_64-apple-darwin10.
More information about the gmp-bugs
mailing list