Assertion failed: errorcode == 0, file llvm\lib\system\Win32/ThreadLocal.inc, line 46

Hey,

I've done a clean checkout of LLVM and clang but I still get the following tblgen error with a MSVC 9.0 compiler:

Assertion failed: errorcode == 0, file llvm\lib\system\Win32/ThreadLocal.inc, line 46

Is anyone else seing this?

Yes, I've filed a bug report with LLVM on this.

I think the latest 'safe' checkout of LLVM is branch number 74207 until this is fixed.

I have also seen a message on the LLVM lists that suggests the sense of the assert is wrong, and that for windows this should be !=0, but have not attempted and home-grown patches myself.

AlisdairM

Hey,

AlisdairM(public) wrote:

Yes, I've filed a bug report with LLVM on this.

  >

I think the latest 'safe' checkout of LLVM is branch number 74207 until this is fixed.

I have also seen a message on the LLVM lists that suggests the sense of the assert is wrong, and that for windows this should be !=0, but have not attempted and home-grown patches myself.

Thanks. I'll revert and keep an eye on:

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