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

AndrewWu wuxi at fudan.edu.cn
Wed Feb 20 00:01:43 PST 2008


The full message is shown here, sorry for the spelling mistake, I did not
make the mistake when I built the llvm:

[wuxi at ppidellsc1420 llvm-objects-opt]$ make ENABLE_OPTIMIZED=1
make[1]: Entering directory
`/home/wuxi/llvm-2.2/llvm-objects-opt/lib/System'
...
/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)
make[1]: ***
[/home/wuxi/llvm-2.2/llvm-objects-opt/lib/VMCore/Release/Intrinsics.gen.tmp]
Error 1
make[1]: Leaving directory `/home/wuxi/llvm-2.2/llvm-objects-opt/lib/VMCore'
make: *** [all] Error 1

> The directory name shows that this is still an optimized build.
> As for the error itself, I have no idea

Anyway... the debug build works well and I have written a simple program,
use llvm-gcc-4.2 to generate bit code, and run the bit code directly via
lli.

Thanks
_______________________________________________

Andrew Wu
Parallel Processing Institute
Fudan University, Shanghai, China
E-mail: wuxi at fudan.edu.cn wu.andrew.xi at gmail.com
_______________________________________________





More information about the llvm-dev mailing list