Compilation errors with Visual Studio 10

NAKAMURA Takumi geek4civic at gmail.com
Tue Jan 29 02:39:55 PST 2013


What would happen when you try to build "ALL_BUILD" instead of
LLVM.sln (aka "Build Solution")?

...Takumi

2013/1/29 Free styler <freestyler_du_94 at hotmail.com>:
> 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
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>




More information about the cfe-commits mailing list