karelklic / canal

Abstract interpreter for real-world application programs
https://github.com/karelklic/canal/wiki
Other
32 stars 3 forks source link

rtti fallout #178

Closed jirislaby closed 8 years ago

jirislaby commented 11 years ago

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...

jirislaby commented 8 years ago

Since the development of canal seems to stall, I am closing this as it pollutes my issues list.