[LLVMdev] llvm-2.2 cannot be successfully built with 'make ENABLE_OPTIMIZED=1'

Duncan Sands
Wed, 20 Feb 2008 07:25:37 -0000

Hi,

> But when I use 'make ENABLE_OPTMIZED=1', the compilation fails with
the

spelling mistake: should be ENABLE_OPTIMIZED not ENABLE_OPTMIZED.

> message:
>
>          /home/wuxi/llvm-2.2/llvm-objects-opt/Release/bin/tblgen:
> /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
> /home/wuxi/llvm-2.2/llvm-objects-opt/Release/bin/tblgen)

The directory name shows that this is still an optimized build.

As for the error itself, I have no idea.

Ciao,

Duncan.