[cfe-dev] can't compile hello.c with Clang in win7

孙成波 sun_chengbo at 126.com
Sun Dec 23 00:49:01 PST 2012


Hi all !
i am a newcomer to llvm.
i had built llvm+clang(r170994) successfully with VS2008 in win7 today.
the following commands ran well:
 
clang -c hello.c -emit-llvm -o hello.bc
lli hello.bc
 
but when ran :
 
clang hello.c -o hello.exe
 
an error occurred:
 
Assertion failed: !getRelaxAll() && "Did not expect a MCInstFragment in RelaxAll mode", file ..\..\..\llvm\lib\MC\MCAssembler.cpp, line 867
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
clang: error: clang frontend command failed with exit code 3 (use -v to see invocation)
 
anyone help me ?
 
--------------
Sunny
sun_chengbo at 126.com
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121223/a7a87983/attachment.html>


More information about the cfe-dev mailing list