[LLVMdev] Strange Failure in LLVM Test Suite

Eli Friedman eli.friedman at gmail.com
Thu Jun 23 13:37:09 PDT 2011


On Thu, Jun 23, 2011 at 1:29 PM, John Criswell <criswell at illinois.edu> wrote:
> Dear All,
>
> I'm getting the following error on Mac OS X when compiling C++ code in
> the LLVM test suite:
>
> g++ Output/minisat.llc.s -o Output/minisat.llc  -lm   -m64
> -fomit-frame-pointer -mdynamic-no-pic -lstdc++ -lm
> Output/minisat.llc.s:5:Unknown pseudo-op: .cfi_startproc
> Output/minisat.llc.s:8:Unknown pseudo-op: .cfi_def_cfa_offset
> Output/minisat.llc.s:8:Rest of line ignored. 1st junk character valued
> 49 (1).
> Output/minisat.llc.s:11:Unknown pseudo-op: .cfi_def_cfa_offset
> Output/minisat.llc.s:11:Rest of line ignored. 1st junk character valued
> 50 (2).
> Output/minisat.llc.s:14:Unknown pseudo-op: .cfi_def_cfa_offset
> Output/minisat.llc.s:14:Rest of line ignored. 1st junk character valued
> 51 (3).
>
> Has anyone seen this before?

That means we're generating CFI and the assembler doesn't support
it... either pass -disable-cfi to llc or force the "gcc" to clang.

-Eli




More information about the llvm-dev mailing list