On 2009-07-09 08:57, Sanjiv.Gupta at microchip.com
wrote:>
> llvm[1]: Compiling Globals.cpp for Release build
>
> /home/auto-tester/projects/c16/lib/VMCore/Globals.cpp: In member
> function ‘virtual void llvm::GlobalValue::destroyConstant()’:
>
> /home/auto-tester/projects/c16/lib/VMCore/Globals.cpp:81: error:
> ‘cerr’ was not declared in this scope
>
> /home/auto-tester/projects/c16/lib/VMCore/Globals.cpp: In member
> function ‘const llvm::GlobalValue*
> llvm::GlobalAlias::getAliasedGlobal() const’:
>
> /home/auto-tester/projects/c16/lib/VMCore/Globals.cpp:248: error:
> ‘cerr’ was not declared in this scope
>
> make[1]: ***
> [/home/auto-tester/projects/objs/lib/VMCore/Release/Globals.o] Error 1
>
> make[1]: Leaving directory `/home/auto-tester/projects/objs/lib/VMCore'
>
> make: *** [all] Error 1
>
>
>
>
>
> Whereever LLVM_UNREACHABLE() macro is used, we get this build error.
>
Hi,
Which revision and what compiler version are you using?
I am not seeing these failures with gcc 4.3.3, or gcc 4.4.0 on Linux
x86-64 with TOT.
Thanks,
--Edwin