明远智睿技术论坛

 找回密码
 立即注册
搜索
查看: 2919|回复: 1
打印 上一主题 下一主题

IMX6 Android5.1.1编译system报错

[复制链接]

8

主题

18

帖子

106

积分

注册会员

Rank: 2

积分
106
跳转到指定楼层
楼主
发表于 2017-12-12 21:53:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 疯狂的豆豆 于 2017-12-12 21:56 编辑

按文档操作,系统安装:Ubuntu12.4.5的server,64Bit,可以编译Uboot,kernel,bootimg,但是在编译system 时,编译5个小时候报错;google搜索很久,没找到明确的解决方案,错误提示:
dex2oatd F   612   612 art/runtime/runtime.cc:289] Runtime aborting...
dex2oatd F   612   612 art/runtime/runtime.cc:289] (Aborting thread was not attached to runtime!)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #00 pc 00006d56  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+82)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #01 pc 000043f1  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+33)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #02 pc 00388819  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (art:umpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+121)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #03 pc 00351a3d  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (art::AbortState:ump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+301)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #04 pc 00351909  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (art:umpable<art::AbortState>:ump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+41)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #05 pc 00350298  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (std::__1::basic_ostream<char, std::__1::char_traits<char> >& art:perator<<<art::AbortState>(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art:umpable<art::AbortState> const&)+40)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #06 pc 00349738  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (art::Runtime::Abort()+168)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #07 pc 000fcae9  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (art:ogMessage::~LogMessage()+393)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #08 pc 001fe0c3  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (art::gc::Heap::Heap(unsigned int, unsigned int, unsigned int, unsigned int, double, double, unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::InstructionSet, art::gc::CollectorType, art::gc::CollectorType, unsigned int, unsigned int, bool, unsigned int, unsigned int, bool, bool, bool, bool, bool, bool, bool, bool, bool, unsigned long long)+6995)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #09 pc 00349f4f  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (art::Runtime::Init(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, bool)+1295)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #10 pc 00349a0d  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/lib/libartd.so (art::Runtime::Create(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, bool)+93)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #11 pc 00017aca  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/bin/dex2oatd (art:ex2Oat::CreateRuntime(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, art::InstructionSet)+42)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #12 pc 0000f22f  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/bin/dex2oatd (art:ex2Oat::Create(art:ex2Oat**, std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, art::CompilerOptions const&, art::Compiler::Kind, art::InstructionSet, art::InstructionSetFeatures, art::VerificationResults*, art:exFileToMethodInlinerMap*, unsigned int)+143)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #13 pc 00008a65  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/bin/dex2oatd (art::dex2oat(int, char**)+12885)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #14 pc 00005800  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/bin/dex2oatd (main+32)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #15 pc 00019af2  /lib/i386-linux-gnu/libc-2.19.so (__libc_start_main+242)
dex2oatd F   612   612 art/runtime/runtime.cc:289]   native: #16 pc 00004de4  /home/qb/work/imx6/android5.1/myandroid5.1/out/host/linux-x86/bin/dex2oatd (???)
dex2oatd F   612   612 art/runtime/runtime.cc:289] Dumping all threads without appropriate locks held: thread list lock mutator lock
dex2oatd F   612   612 art/runtime/runtime.cc:289] All threads:
dex2oatd F   612   612 art/runtime/runtime.cc:289] DALVIK THREADS (0):
dex2oatd F   612   612 art/runtime/runtime.cc:289]
make: *** [out/target/product/generic/obj/APPS/BasicDreams_intermediates/arm/package.odex] Aborted (core dumped)
make: *** Deleting file `out/target/product/generic/obj/APPS/BasicDreams_intermediates/arm/package.odex
回复

使用道具 举报

8

主题

18

帖子

106

积分

注册会员

Rank: 2

积分
106
沙发
 楼主| 发表于 2017-12-13 18:44:33 | 只看该作者
将虚拟机内存加到8G,编译通过了......
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|明远智睿  

GMT+8, 2024-11-23 21:23 , Processed in 0.068312 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表