<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On our recursed mips compiler on the cavium boards, I'm getting a
    strange  failure on our second level resursed compiler, only on 2 of
    the clang tests.<br>
    These two compilers do differ in the libc toolchaing.<br>
    <br>
    When I run clang myself it looks fine so it seems to be a make check
    issue. This is also, btw, a big endian machine.<br>
    I have not tried debugging filecheck for this; which is where the
    issue seems to lie.<br>
    <br>
    Maybe this looks familiar to someone.<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <pre class="bz_comment_text" id="comment_text_1" style="font-size: medium; font-family: monospace; white-space: pre-wrap; width: 50em; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">rkotler@mipsswbrd002:~/slave/slavetargetbe/build$ ../install/bin/not --crash ../install/bin/clang -cc1 -analyze -analyzer-checker=debug.ExprInspection /home/rkotler/workspace/llvmslave/tools/clang/test/Analysis/crash-trace.c 
0  clang 0x0385c194 llvm::sys::PrintStackTrace(_IO_FILE*) + 96
Stack dump:
0.      Program arguments: ../install/bin/clang -cc1 -analyze -analyzer-checker=debug.ExprInspection /home/rkotler/workspace/llvmslave/tools/clang/test/Analysis/crash-trace.c 
1.      <eof> parser at end of file
2.      While analyzing stack: 
        #0 void inlined()
        #1 void test()
3.      /home/rkotler/workspace/llvmslave/tools/clang/test/Analysis/crash-trace.c:7:3: Error evaluating statement
4.      /home/rkotler/workspace/llvmslave/tools/clang/test/Analysis/crash-trace.c:7:3: Error evaluating statement
Error: Trace/breakpoint trap
rkotler@mipsswbrd002:~/slave/slavetargetbe/build$ 

But when the same test is run during make check:


</pre>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <pre class="bz_comment_text" id="comment_text_0" style="font-size: medium; font-family: monospace; white-space: pre-wrap; width: 50em; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">home/rkotler/workspace/llvmslave/tools/clang/test/Analysis/crash-trace.c:14:11: error: expected string not found in input
// CHECK: 0. Program arguments: {{.*}}clang
          ^
<stdin>:1:1: note: scanning from here
0 5\H5*�i<*�i<5'05*�iL*�iL*�iT*�iT*�i\*�i\*�id*�id*�il*�il*�it*�it*�i|*�i|*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�j*�j*�j
                                                             *�j
                                                                *�j*�j*�j*�j*�j$*�j$*�j,*�j,*�j4*�j4*�j<*�j<*�jD*�jD*�jL*�jL*�jT*�jT*�j\*�j\*�jd*�jd*�jl*�jl*�jt*�jt*�j|*�j|*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�k*�k*�k
                                                                           *�k
                                                                              *�k*�k*�k*�k*�k$*�k$*�k,*�k,*�k4*�k4*�k<*�k<*�kD*�kD*�kL*�kL*�kT*�kT*�k\*�k\*�kd*�kd*�kl*�kl*�kt*�kt*�k|*�k|*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�l*�l*�
l
         *�l
            *�l*�l*�l*�l*�l$*�l$*�l,*�l,*�l4*�l4*�l<*�l<*�lD*�lD*�lL*�lL*�lT*�lT*�l\*�l\*�ld*�ld*�ll*�ll*�lt*�lt*�l|*�l|*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�m*�m*�m
                       *�m
                          *�m*�m*�m*�m*�m$*�m$*�m,*�m, 0x0433d798 Error: Segmentation fault
<stdin>:1:1035: note: possible intended match here
0 5\H5*�i<*�i<5'05*�iL*�iL*�iT*�iT*�i\*�i\*�id*�id*�il*�il*�it*�it*�i|*�i|*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�i�*�j*�j*�j
                                                             *�j
                                                                *�j*�j*�j*�j*�j$*�j$*�j,*�j,*�j4*�j4*�j<*�j<*�jD*�jD*�jL*�jL*�jT*�jT*�j\*�j\*�jd*�jd*�jl*�jl*�jt*�jt*�j|*�j|*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�j�*�k*�k*�k
                                                                           *�k
                                                                              *�k*�k*�k*�k*�k$*�k$*�k,*�k,*�k4*�k4*�k<*�k<*�kD*�kD*�kL*�kL*�kT*�kT*�k\*�k\*�kd*�kd*�kl*�kl*�kt*�kt*�k|*�k|*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�k�*�l*�l*�
l
         *�l
            *�l*�l*�l*�l*�l$*�l$*�l,*�l,*�l4*�l4*�l<*�l<*�lD*�lD*�lL*�lL*�lT*�lT*�l\*�l\*�ld*�ld*�ll*�ll*�lt*�lt*�l|*�l|*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�l�*�m*�m*�m
                       *�m
                          *�m*�m*�m*�m*�m$*�m$*�m,*�m, 0x0433d798 Error: Segmentation fault
</pre>
    Tia.<br>
    <br>
    Reed<br>
    <br class="Apple-interchange-newline">
  </body>
</html>