I need ./configure CXXFLAGS=-fno-rtti
otherwise I see:
canal-Canal.o:(.rodata._ZTIN4llvm2cl15OptionValueCopyISsEE[_ZTIN4llvm2cl15OptionValueCopyISsEE]+0x10): undefined reference to typeinfo for llvm::cl::GenericOptionValue' canal-Canal.o:(.rodata._ZTIN5Canal12StringStreamE[_ZTIN5Canal12StringStreamE]+0x10): undefined reference totypeinfo for llvm::raw_string_ostream'
canal-Canal.o:(.rodata._ZTIN4llvm2cl4listISsbNS0_6parserISsEEEE[_ZTIN4llvm2cl4listISsbNS0_6parserISsEEEE]+0x18): undefined reference to typeinfo for llvm::cl::Option' canal-CommandInfo.o:(.rodata._ZTI12FunctionInfo[_ZTI12FunctionInfo]+0x10): undefined reference totypeinfo for llvm::FunctionPass'
canal-CommandInfo.o:(.rodata._ZTI20FunctionDetailedInfo[_ZTI20FunctionDetailedInfo]+0x10): undefined reference to `typeinfo for llvm::FunctionPass'
But that is maybe no real problem: doesn't LLVM need no-rrti? If so, close this as WONTFIX...
I need ./configure CXXFLAGS=-fno-rtti otherwise I see: canal-Canal.o:(.rodata._ZTIN4llvm2cl15OptionValueCopyISsEE[_ZTIN4llvm2cl15OptionValueCopyISsEE]+0x10): undefined reference to
typeinfo for llvm::cl::GenericOptionValue' canal-Canal.o:(.rodata._ZTIN5Canal12StringStreamE[_ZTIN5Canal12StringStreamE]+0x10): undefined reference to
typeinfo for llvm::raw_string_ostream' canal-Canal.o:(.rodata._ZTIN4llvm2cl4listISsbNS0_6parserISsEEEE[_ZTIN4llvm2cl4listISsbNS0_6parserISsEEEE]+0x18): undefined reference totypeinfo for llvm::cl::Option' canal-CommandInfo.o:(.rodata._ZTI12FunctionInfo[_ZTI12FunctionInfo]+0x10): undefined reference to
typeinfo for llvm::FunctionPass' canal-CommandInfo.o:(.rodata._ZTI20FunctionDetailedInfo[_ZTI20FunctionDetailedInfo]+0x10): undefined reference to `typeinfo for llvm::FunctionPass'But that is maybe no real problem: doesn't LLVM need no-rrti? If so, close this as WONTFIX...