[LLVMdev] Build problems with llvm-tblgen

Hal Finkel hfinkel at anl.gov
Fri Apr 26 03:05:48 PDT 2013


----- Original Message -----
> From: "Michael Schlottke" <m.schlottke at aia.rwth-aachen.de>
> To: llvmdev at cs.uiuc.edu
> Sent: Friday, April 26, 2013 12:58:14 AM
> Subject: [LLVMdev] Build problems with llvm-tblgen
> 
> Hi all,
> 
> when trying to build LLVM+Clang (r180247) on a BlueGene/Q, I get the
> following error message (multiple times):
> 
> llvm[3]: Building PPC.td code emitter with tblgen
> llvm-tblgen: Unknown command line argument '-gen-emitter'.  Try:
> '/homea/jjsc13/jjsc1301/.pool/.build/llvm_r180241/Release+Asserts/bin/llvm-tblgen
> -help'
> llvm-tblgen: Did you mean '-mc-emitter'?

Do you have a clean build directory? As you're building a Release+Asserts variant, you'll need to run: make ENABLE_OPTIMIZED=1 clean

 -Hal

> 
> Has anyone encountered this yet? When I actually run the suggested
> command, I can see that indeed no -gen-emitter is listed among the
> options, but -mc-emitter is. However, there is one weird line (*):
> 
>     -print-records       - Print all records to stdout (default)
>     -                    - Generate machine code emitter (*)
>     -gen-register-info   - Generate registers and register classes
>     info
> 
> It seems like the option is there, but somehow "invisible"… Any
> thoughts on how I can fix this? I didn't have this problem when I
> built a r15… release some time ago.
> 
> Michael
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 




More information about the llvm-dev mailing list