[cfe-dev] mpfr 3.1.0 vs clang 3.0svn
Eric Christopher
echristo at apple.com
Tue Oct 11 17:11:06 PDT 2011
On Oct 11, 2011, at 5:07 PM, Jack Howarth wrote:
> 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.
>>
>> -eric
>
> Eric,
> 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 don't know what you mean here? That said, I'd need more information to try to debug anything.
> 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.
> Jack
> ps Is there a clang flag to disable the TLS support (short of resorting to -mmacosx-version-min=10.6)?
Nope, but it could be added.
-eric
More information about the cfe-dev
mailing list