when trying to build LLVM+Clang (r180247) on a BlueGene/Q, I get the following error message (multiple times):
llvm: 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'?
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.