[cfe-dev] Did anyone build clang/llvm on visual studio.

kalyan ponnala ponnala.kalyan at gmail.com
Tue Feb 9 19:48:02 PST 2010


Hi,

I am trying to build clang/llvm solution on visual studio 2008. The all
build solution works but the Clang-test solution doesn't.
Does anyone know if those tests are "complete". I mean some of the .c or .h
files inside clang-test, project look incomplete. one of them had just
#include<stdio.h>
and the regression test kept failing when i started building it. The errors
were something like the ones below. If you guys did built the regression
tests, could you tell me
how did you do it?
---------------------------------------------------------------------------
1>------ Build started: Project: clang-test, Configuration: Debug Win32
------
1>Running Clang regression tests
1>-- Testing: 2012 tests, 2 threads --
1>FAIL: Clang :: CodeGen/lineno-dbginfo.c (450 of 2012)
1>******************** TEST 'Clang :: CodeGen/lineno-dbginfo.c' FAILED
********************
1>Script:
1>--
1>echo "#include <stdio.h>" >
C:\Users\Kalyan\llvm\binariesbuild\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.h
1>C:/Users/Kalyan/llvm/binariesbuild/bin/Debug\clang.EXE  -S -save-temps -g
-include
C:\Users\Kalyan\llvm\binariesbuild\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.h
C:\Users\Kalyan\llvm\tools\clang\test\CodeGen\lineno-dbginfo.c -emit-llvm -o
C:\Users\Kalyan\llvm\binariesbuild\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.ll
1>grep "i32 5"
C:\Users\Kalyan\llvm\binariesbuild\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.ll
1>rm -f lineno-dbginfo.i
1>--
1>Exit Code: 1
1>Command Output (stdout):
1>--
1>Command 0: "echo" "#include <stdio.h>"
1>Command 0 Result: 0
1>Command 0 Output:
1>None
1>Command 0 Stderr:
1>Command 1: "C:/Users/Kalyan/llvm/binariesbuild/bin/Debug\clang.EXE" "-S"
"-save-temps" "-g" "-include"
"C:\Users\Kalyan\llvm\binariesbuild\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.h"
"C:\Users\Kalyan\llvm\tools\clang\test\CodeGen\lineno-dbginfo.c"
"-emit-llvm" "-o"
"C:\Users\Kalyan\llvm\binariesbuild\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.ll"
1>Command 1 Result: 1
1>Command 1 Output:
1>Command 1 Stderr:
1>In file included from <built-in>:109:
1>In file included from <command line>:1:
1>C:\\Users\\Kalyan\\llvm\\binariesbuild\\tools\\clang\\test\\CodeGen\\Output\\lineno-dbginfo.c.tmp.h(1)
:  fatal error: 'stdio.h' file not found
1>#include <stdio.h>
1>         ^
1>1 diagnostic generated.
1>--
1>Command Output (stderr):
1>--
1>--
1>********************
-- --------------------------------------------------------------
Kalyan Ponnala
phone: 8163772059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100209/0dc41ca6/attachment.html>


More information about the cfe-dev mailing list