基于前面安装成功GCC 4.8.2,安装LLVM+Clang遇到点波折
In file included from /vobs/repo/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:54:
In file included from /usr/include/sys/vt.h:1:/usr/include/linux/vt.h:74:15: error: expected member name or ';' after declaration specifiers
unsigned int new; /* New console (if changing) */
~~~~~~~~~~~~ ^
COMPILE: clang_linux/san-x86_64/x86_64: /vobs/repo/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cc
1 error generated.
make[5]: *** [/home/freeman/tmp/build/tools/clang/runtime/compiler-rt/clang_linux/san-x86_64/x86_64/SubDir.lib__sanitizer_common/sanitizer_platform_limits_posix.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/vobs/repo/llvm/projects/compiler-rt'
make[4]: *** [BuildRuntimeLibraries] Error 2