[cfe-dev] mpfr 3.1.0 vs clang 3.0svn
howarth at bromo.med.uc.edu
Tue Oct 11 17:07:15 PDT 2011
On Tue, Oct 11, 2011 at 04:52:37PM -0700, Eric Christopher wrote:
> On Oct 11, 2011, at 7:48 AM, Jack Howarth wrote:
> > Another data point on this problem. Using current llvm/dragonegg svn, I can compile libmpfr 3.1.0
> > using FSF gcc 4.6.2svn and the dragonegg plugin without any testsuite failures in libmpfr. Thus
> > it seems unlikely that the issue is in llvm but rather a problem introduced in clang itself.
> > Jack
> > ps Interestingly, I can even compile libmpfr using llvm/dragonegg svn with the flags
> > -msse4 -fplugin-arg-dragonegg-enable-gcc-optzns to fully vectorize the code without
> > any failures in the libmpfr test suite.
> As we discussed it's likely a problem with TLS support in clang. I'm uncertain what the problem is, but I'll see if any of the TLS support tests I've got here have randomly started failing.
I doubt that would work as I can reproduce the problem with llvm.org's clang 2.9 release using Xcode 4.1.1's
cctools. I suspect we will shortly have a load of additional examples for you as fink 10.7 builds with the Xcode's
clang. Once Xcode 4.2 is released, every fink package which supports TLS will suddenly start to use it new builds.
ps Is there a clang flag to disable the TLS support (short of resorting to -mmacosx-version-min=10.6)?
More information about the cfe-dev