[libdispatch-dev] lib dispatch worker threads may loop depending on compiler optimization

Joakim Johansson jocke at tbricks.com
Thu Sep 15 05:53:16 PDT 2011


On 13 sep 2011, at 10:45, Jordan K. Hubbard wrote:
On Sep 12, 2011, at 11:06 PM, Joakim Johansson wrote:
> 
>> I definitely agree that blocks are very nice (as is clang, which I hope that we will be able to use pending ability to build our C++ code, which was still lacking last time we tested). 
> 
> Just to chime in with Jean-Daniel - what svn tag of clang did you last test against, if I might ask?  
...
> It might not be a bad idea to re-test against trunk, if that's possible, since it would at least let you know whether gcc was really a short-term or a medium-term problem. 

Now we retested with trunk:r139788 on Mac OS X 10.7.1 - it still fails, but now we have a bug report with a minimized test case:

http://llvm.org/bugs/show_bug.cgi?id=10931

Also, the following case is problematic to get clang working on Solaris, but that is a separate issue:
http://llvm.org/bugs/show_bug.cgi?id=5172

(clang/llvm builds out of the box now with gcc, but the resulting compiler can’t build itself due to 5172)

Cheers,

Joakim



More information about the libdispatch-dev mailing list