[LLVMdev] piping into lli broken on darwin

Eli Friedman eli.friedman at gmail.com
Wed Oct 31 15:53:50 PDT 2012


On Wed, Oct 31, 2012 at 8:43 AM, Jack Howarth <howarth at bromo.med.uc.edu> wrote:
>   While testing llvm/polly svn on x86_64-apple-darwin10/11/12, I noticed that three darwin
> specific polly-test regressions exist. At least part of these failures appear to be due
> to lli on darwin not accepting piped input such that the test...
>
> opt -load /sw/src/fink.build/llvm32-3.2-0/llvm-3.2/build/lib/LLVMPolly.so
> -basicaa -polly-prepare -polly-region-simplify -O3
> /sw/src/fink.build/llvm32-3.2-0/llvm-3.2/tools/polly/test/CodeGen/single_do_loop_int_max_iterations.ll
> | lli
>
> produces the error...
>
> LLVM ERROR: Could not resolve external global address: stdout

This error means you're generating a reference to a symbol named
stdout, which does not exist on OS X.  Why do you think this is a bug
in lli?

-Eli



More information about the llvm-dev mailing list