Compilation errors with Visual Studio 10
Free styler
freestyler_du_94 at hotmail.com
Thu Jan 31 07:12:01 PST 2013
Thanks for your reply.
Finally, I've installed a VM Ubuntu 32bits and It works fine :)
Kevin
From: guy.benyei at intel.com
To: freestyler_du_94 at hotmail.com; cfe-commits at cs.uiuc.edu
Subject: RE: Compilation errors with Visual Studio 10
Date: Tue, 29 Jan 2013 10:50:24 +0000
Hi Kevin,
I’m building LLVM and Clang with Visual Studio 10 on a daily basis, with no major issues.
The good news is that your build fails on the clang LIT tests, so you probably already have all the executables you need.
In the latest trunk I know about two issues that might cause failures in VS 10 in check-clang:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130128/072836.html
Anyhow, the log you’ve copied is partial, and doesn’t include the build outputs – you can get the full output from Visual Studio’s Output windows, or you can
run devenv from command line. This way you will see the actual LIT tests that fail, including the error messages. To understand what’s going on there, you might want to see some documentation about the LIT tests.
Thanks
Guy Benyei
From: cfe-commits-bounces at cs.uiuc.edu [mailto:cfe-commits-bounces at cs.uiuc.edu]
On Behalf Of Free styler
Sent: Tuesday, January 29, 2013 12:04
To: cfe-commits at cs.uiuc.edu
Subject: Compilation errors with Visual Studio 10
Hello,
I'm using llvm for the first time and I've 10 errors in the compilation.
I read and made all steps from the documentation
http://clang.llvm.org/get_started.html#buildWindows mixed to
https://github.com/kripken/emscripten/wiki/Using-Emscripten-from-Visual-Studio-2010 for the library that I will use.
The file ".sln" has been created successfully but when I want compile it for get release files, I've these errors:
Build FAILED.
"C:\llvm-clang\build\LLVM.sln" (default target) (1) ->
"C:\llvm-clang\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\llvm-clang\build\lib\Analysis\LLVMAnalysis.vcxproj.metaproj" (default target) (12) ->
"C:\llvm-clang\build\lib\IR\LLVMCore.vcxproj.metaproj" (default target) (13) ->
"C:\llvm-clang\build\include\llvm\IR\intrinsics_gen.vcxproj.metaproj" (default target) (14) ->
"C:\llvm-clang\build\utils\TableGen\llvm-tblgen.vcxproj.metaproj" (default target) (15) ->
"C:\llvm-clang\build\utils\TableGen\llvm-tblgen.vcxproj" (default target) (18) ->
(ClCompile target) ->
c:\llvm-clang\llvm\utils\tablegen\intrinsicemitter.cpp(280): warning C4748: /GS ne peut pas protéger les paramètres et les variables locales contre
le dépassement de mémoire tampon locale, car les optimisations sont désactivées dans la fonction [C:\llvm-clang\build\utils\TableGen\llvm-tblgen.vcx
proj]
"C:\llvm-clang\build\LLVM.sln" (default target) (1) ->
"C:\llvm-clang\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\llvm-clang\build\lib\Analysis\LLVMAnalysis.vcxproj.metaproj" (default target) (12) ->
"C:\llvm-clang\build\lib\IR\LLVMCore.vcxproj.metaproj" (default target) (13) ->
"C:\llvm-clang\build\lib\IR\LLVMCore.vcxproj" (default target) (20) ->
cl : Ligne de commande warning D9035: l'option 'Og-' est déconseillée et sera supprimée dans une version ultérieure [C:\llvm-clang\build\lib\IR\LLV
MCore.vcxproj]
"C:\llvm-clang\build\LLVM.sln" (default target) (1) ->
"C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj.metaproj" (default target) (355) ->
"C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj" (default target) (356) ->
(CustomBuild target) ->
CUSTOMBUILD : cygwin warning : [C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj]
"C:\llvm-clang\build\LLVM.sln" (default target) (1) ->
"C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj.metaproj" (default target) (355) ->
"C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj" (default target) (356) ->
(CustomBuild target) ->
CUSTOMBUILD : fatal error : error in backend: IO failure on output stream. [C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj]
CUSTOMBUILD : fatal error : error in backend: IO failure on output stream. [C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj]
CUSTOMBUILD : fatal error : error in backend: IO failure on output stream. [C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj]
CUSTOMBUILD : fatal error : error in backend: IO failure on output stream. [C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj]
CUSTOMBUILD : fatal error : error in backend: IO failure on output stream. [C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj]
CUSTOMBUILD : fatal error : error in backend: IO failure on output stream. [C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj]
CUSTOMBUILD : fatal error : error in backend: IO failure on output stream. [C:\llvm-clang\build\tools\clang\test\check-clang.vcxproj]
CUSTOMBUILD : error : no expected directives found: consider use of 'expected-no-diagnostics' [C:\llvm-clang\build\tools\clang\test\check-clang.vcx
proj]
"C:\llvm-clang\build\LLVM.sln" (default target) (1) ->
"C:\llvm-clang\build\test\check-llvm.vcxproj.metaproj" (default target) (357) ->
"C:\llvm-clang\build\test\check-llvm.vcxproj" (default target) (358) ->
CUSTOMBUILD : error : program not executable [C:\llvm-clang\build\test\check-llvm.vcxproj]
CUSTOMBUILD : error : program not executable [C:\llvm-clang\build\test\check-llvm.vcxproj]
3 Warning(s)
10 Error(s)
Can you help to resolve this issue please?
Because I don't know where are the errors...
Thank you,
Kevin
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130131/d23b7e80/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 24800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130131/d23b7e80/attachment.png>
More information about the cfe-commits
mailing list