Hello All , 
   I downloaded android-5.0.2_r1 from git and applied patch given by vendor 
, then when I try to build following error is coming 

...
including ./tools/external/fat32lib/Android.mk ...
dex2oatd I  2425  2425 art/dex2oat/dex2oat.cc:1239] 
out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg 
-Xmx512m 
--boot-image=out/target/product/generic/dex_bootjars/system/framework/boot.art 
--dex-file=out/target/product/generic/obj/APPS/BasicDreams_intermediates/arm/package.odex.input
 
--dex-location=/system/app/BasicDreams/BasicDreams.apk 
--oat-file=out/target/product/generic/obj/APPS/BasicDreams_intermediates/arm/package.odex
 
--android-root=out/target/product/generic/system --instruction-set=arm 
--instruction-set-features=default --include-patch-information 
--runtime-arg -Xnorelocate --no-include-debug-symbols
dex2oatd E  2425  2425 art/runtime/gc/heap.cc:421] 0x56298768
dex2oatd F  2425  2425 art/runtime/gc/heap.cc:422] *There's a gap between 
the image space and the main space*
dex2oatd F  2425  2425 art/runtime/runtime.cc:284] Runtime aborting...
dex2oatd F  2425  2425 art/runtime/runtime.cc:284] (Aborting thread was not 
attached to runtime!)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #00 pc 
00006a22  
/home/accord/Android_Source/out/host/linux-x86/lib/libbacktrace_libc++.so 
(UnwindCurrent::Unwind(unsigned int, ucontext*)+82)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #01 pc 
00004141  
/home/accord/Android_Source/out/host/linux-x86/lib/libbacktrace_libc++.so 
(Backtrace::Unwind(unsigned int, ucontext*)+33)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #02 pc 
0036f689  /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so 
(art::DumpNativeStack(std::__1::basic_ostream<char, 
std::__1::char_traits<char> >&, int, char const*, 
art::mirror::ArtMethod*)+121)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #03 pc 
0033a99d  /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so 
(art::AbortState::Dump(std::__1::basic_ostream<char, 
std::__1::char_traits<char> >&)+301)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #04 pc 
0033a869  /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so 
(art::Dumpable<art::AbortState>::Dump(std::__1::basic_ostream<char, 
std::__1::char_traits<char> >&) const+41)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #05 pc 
003394e8  /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so 
(std::__1::basic_ostream<char, std::__1::char_traits<char> >& 
art::operator<<<art::AbortState>(std::__1::basic_ostream<char, 
std::__1::char_traits<char> >&, art::Dumpable<art::AbortState> const&)+40)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #06 pc 
003329d8  /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so 
(art::Runtime::Abort()+168)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #07 pc 
000f6209  /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so 
(art::LogMessage::~LogMessage()+393)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #08 pc 
001eb8ab  /home/accord/Android_Source/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)+5707)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #09 pc 
003331f2  /home/accord/Android_Source/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)+1298)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #10 pc 
00332cad  /home/accord/Android_Source/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  2425  2425 art/runtime/runtime.cc:284]   native: #11 pc 
0001ea1a  /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd 
(art::Dex2Oat::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  2425  2425 art/runtime/runtime.cc:284]   native: #12 pc 
0001655f  /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd 
(art::Dex2Oat::Create(art::Dex2Oat**, 
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::DexFileToMethodInlinerMap*, unsigned 
int)+143)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #13 pc 
00010290  /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd 
(art::dex2oat(int, char**)+11296)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #14 pc 
0000d660  /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd 
(main+32)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #15 pc 
00019a82  /lib/i386-linux-gnu/libc-2.19.so (__libc_start_main+242)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284]   native: #16 pc 
0000ccc0  /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd (???)
dex2oatd F  2425  2425 art/runtime/runtime.cc:284] Dumping all threads 
without appropriate locks held: thread list lock mutator lock
dex2oatd F  2425  2425 art/runtime/runtime.cc:284] All threads:
dex2oatd F  2425  2425 art/runtime/runtime.cc:284] DALVIK THREADS (0):
dex2oatd F  2425  2425 art/runtime/runtime.cc:284] 
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'

Please help me sort out this issue.

Regards,
Kishore P

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/c40bc8d3-f03b-4373-aadf-0787ce690e39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to