Attempting to compile Firefox with clang-cl works great up until freebl, where 
it chokes. This is attempting to build a 64-Bit version with 64-Bit clang. Both 
versions 3.6.0-r225071 and 3.7.0-r240278 were used, but with the same errors 
from both. 

I used the following mozconfig: http://pastebin.com/04XpKvYN
Which produces the following error: http://pastebin.com/86gdM1Wj

It looks like the fail point is 40:37.42 rijndael.obj : error LNK2019: 
unresolved external symbol _xgetbv referenced in function AES_InitContext

which seems to be caused by clang not using it's own headers, rather it used 
Visual C++'s.

Directing clang to its own headers with 
-I/c/PROGRA~1/LLVM/lib/clang/3.7.0/include seems to fix that issue but create 
another error at the same point as can be seen here: 
http://pastebin.com/CqiafhUG

I feel like this is either an environment error on my part or clang-cl isn't 
doing something correctly? Has anyone else ran into this issue?
_______________________________________________
dev-builds mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to