gmp 4.3.2 regressions when compiled with llvm-gcc
stefan at bytereef.org
Thu Mar 31 20:21:54 CEST 2011
Jack Howarth <howarth at bromo.med.uc.edu> wrote:
> If you have access to a x86_64 linux box which defaults gmp to core2,
> you could test this problem locally using the prebuilt linux x86_64 binaries
> for llvm-gcc4.2 from http://llvm.org/releases/download.html#2.8. I suspect
> this issue may not be darwin specific but a general llvm-gcc/-mtune=core2
> Note I also tried a build under clang 2.9 but ran into a darwin linker
> bug. Once that is fixed upstream, I'll let you know if clang exhibits
> the same issues.
> ps Aren't the other BSDs moving to llvm/clang? If so, I think these issues
> may have a wider audience than just darwin.
All tests pass on FreeBSD-8.0-amd64:
clang version 2.9 (trunk 124029)
Thread model: posix
# Qemu reports Id = 0x623 as the processor id:
./configure CC=clang --build=core2-unknown-freebsd8.0 --enable-cxx
# The provided libtool exits with an error:
cp /usr/local/bin/libtool .
Perhaps this is another Mac OS X specific problem?
More information about the gmp-bugs