| 
 | 
 
这几天刚收到板子,就着手搭建开发系统。并在自己的笔记本上按转了最新的Ubuntu12.10。 
按照说明书按转软件后,编译TQ210_Android_4.0.4_v1.0.tar.bz2。 
大约30分钟后,出现以下错误: 
host C++: libclangDriver <= external/clang/lib/Driver/OptTable.cpp 
host C++: libclangDriver <= external/clang/lib/Driver/Phases.cpp 
host C++: libclangDriver <= external/clang/lib/Driver/Tool.cpp 
# 
# A fatal error has been detected by the Java Runtime Environment: 
# 
#  SIGSEGV (0xb) at pc=0x00002ba342d8a053, pid=3851, tid=47980223776512 
# 
# JRE version: 6.0_30-b12 
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.5-b03 mixed mode linux-amd64 compressed oops) 
# Problematic frame: 
# C  [libc.so.6+0x14f053]host C++: libclangDriver <= external/clang/lib/Driver/ToolChain.cpp 
host C++: libclangDriver <= external/clang/lib/Driver/ToolChains.cpp 
host C++: libclangDriver <= external/clang/lib/Driver/Tools.cpp 
这是JAVA虚拟机崩溃吗? 
 
后来删除out目录重新编译。 
又出现以下错误 
In file included from external/clang/include/clang/Lex/Preprocessor.h:20, 
                 from external/clang/include/clang/Parse/Parser.h:19, 
                 from external/clang/lib/Parse/ParseAST.cpp:23: 
external/clang/include/clang/Lex/PPCallbacks.h:214: internal compiler error: 总线错误 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. 
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libclangParse_intermediates/ParseAST.o] 错误 1 
make: *** 正在等待未完成的任务.... 
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area 
g++: Internal error: 段错误 (program cc1plus) 
Please submit a full bug report. 
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. 
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libclangParse_intermediates/ParseExprCXX.o] 错误 1 
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko 
 
还有一次如下: 
target thumb C++: libwebcore <= external/webkit/Source/WebCore/svg/SVGStopElement.cpp 
target thumb C++: libwebcore <= external/webkit/Source/WebCore/svg/SVGStringList.cpp 
target thumb C++: libwebcore <= external/webkit/Source/WebCore/svg/SVGStylable.cpp 
external/webkit/Source/WebCore/svg/SVGScriptElement.cpp: In member function 'virtual void WebCore::SVGScriptElement::addSubresourceAttributeURLs(WTF::ListHashSet<WebCore::KURL>&) const': 
external/webkit/Source/WebCore/svg/SVGScriptElement.cpp:162: internal compiler error: Segmentation fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <http://gcc.gnu.org/bugs.html> for instructions. 
make: *** [out/target/product/tq210/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/svg/SVGScriptElement.o] 错误 1 
make: *** 正在等待未完成的任务.... 
 
还有很多,好像每次都不一样。 
我的笔记本CPU为i5,内存刚加到6G。不应该硬件引起这种问题吧? 
 |   
 
 
 
 |