search for: dalvik

Displaying 20 results from an estimated 39 matches for "dalvik".

2010 Feb 07
0
Somewhat off topic: Building Android on CentOS 5.4
...ng test OTA key ============================================ TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID= ============================================ /bin/bash: line 0: cd: dalvik/libcore//mnt/home/ganci/download/android//dalvik/libcore:/ No such file or directory /bin/bash: line 0: cd: dalvik/libcore//mnt/home/ganci/download/android//dalvik/libcore:/ No such file or directory dalvik/libcore/Android.mk:150: dalvik/libcore//mnt/home/ganci/download/android/dalvik/libcore/s...
2013 Sep 03
2
[LLVMdev] LLVM in place of Dalvik on Android
Hi all, does anyone here know if Google has considered trading out the Dalvik VM for LLVM? What specifically I have in mind is that apps could be compiled to LLVM IR and distributed (after optimization) in that form, and then compiled to machine code on the Android machine itself. This would leave only ISA optimizations to the Android machine. It would seem, from my limite...
2014 Feb 10
2
[LLVMdev] Fwd: [windows) how to use weak references with llvm 3.4 and windows?
...vm 3.4 for both unix and windows. And I use the dreaded weak references, that, for windows, are not too widely supported. When I link my application on linux, I have no issue. But when I'm doing the same on windows using mingw I got a duplicate symbol error : ..\robovm-0.0.8\lib\robovm-rt.jar\dalvik\system\BlockGuard$BlockGuardPolicyException.class.o:(.text$dalvik_system_BlockGuard$24BlockGuardPolicyException_getPolicy__I_lookup[_dalvik_system_BlockGuard$24BlockGuardPolicyException_getPolicy__I_lookup]+0x0): multiple definition of `dalvik_system_BlockGuard$24BlockGuardPolicyException_getPolicy...
2013 Sep 21
2
[LLVMdev] [ASan] static linking on android?
...ared object for ASan on Android instead of a static library? Would statically linking ASan on Android at least be safe for standalone executables? And if I'm wanting to use ASan in C++ code that is invoked from an APK, can I statically link ASan? If not, what is the reason we need to preload Dalvik with the ASan shared object? I assume static linking here would mean that ASan would miss leaks and overflows in Dalvik, but are there other drawbacks? Thanks, Greg
2014 Feb 11
2
[LLVMdev] Fwd: [windows) how to use weak references with llvm 3.4 and windows?
...references, that, for windows, are not too >> widely supported. >> >> When I link my application on linux, I have no issue. >> But when I'm doing the same on windows using mingw I got a duplicate >> symbol error : >> >> ..\robovm-0.0.8\lib\robovm-rt.jar\dalvik\system\BlockGuard$BlockGuardPolicyException.class.o:(.text$dalvik_system_BlockGuard$24BlockGuardPolicyException_getPolicy__I_lookup[_dalvik_system_BlockGuard$24BlockGuardPolicyException_getPolicy__I_lookup]+0x0): >> multiple definition of >> `dalvik_system_BlockGuard$24BlockGuardPolicyE...
2014 Feb 12
2
[LLVMdev] Fwd: [windows) how to use weak references with llvm 3.4 and windows?
...gt; widely supported. >>>> >>>> When I link my application on linux, I have no issue. >>>> But when I'm doing the same on windows using mingw I got a duplicate >>>> symbol error : >>>> >>>> ..\robovm-0.0.8\lib\robovm-rt.jar\dalvik\system\BlockGuard$BlockGuardPolicyException.class.o:(.text$dalvik_system_BlockGuard$24BlockGuardPolicyException_getPolicy__I_lookup[_dalvik_system_BlockGuard$24BlockGuardPolicyException_getPolicy__I_lookup]+0x0): >>>> multiple definition of >>>> `dalvik_system_BlockGuard$24B...
2013 Sep 21
0
[LLVMdev] [ASan] static linking on android?
...id instead > of a static library? Would statically linking ASan on Android at > least be safe for standalone executables? > > And if I'm wanting to use ASan in C++ code that is invoked from an > APK, can I statically link ASan? If not, what is the reason we need > to preload Dalvik with the ASan shared object? I assume static > linking here would mean that ASan would miss leaks and overflows in > Dalvik, but are there other drawbacks? > > Thanks, > Greg > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.ui...
2016 Dec 13
1
Offset too large on scattered relocations
...(MovtBit << 28) | (ThumbBit << 29) | (IsPCRel << 30) | MachO::R_SCATTERED); Rob On Tue, Dec 6, 2016 at 8:38 PM, Nick Kledzik <kledzik at apple.com> wrote: > > On Dec 6, 2016, at 5:09 PM, Rob Dalvik <rob.dalvik at gmail.com> wrote: > > CCing Nick Kledzik as I posed this question on IRC and Tim Northover > suggested you as a good resource for this. > > I came across an error due to a scattered relocation offset being larger > than 2**24 and I was hoping to find more info...
2013 Sep 23
2
[LLVMdev] [ASan] static linking on android?
...static library? Would statically linking ASan on Android at >> least be safe for standalone executables? >> >> And if I'm wanting to use ASan in C++ code that is invoked from an >> APK, can I statically link ASan? If not, what is the reason we need >> to preload Dalvik with the ASan shared object? I assume static >> linking here would mean that ASan would miss leaks and overflows in >> Dalvik, but are there other drawbacks? >> >> Thanks, >> Greg >> _______________________________________________ >> LLVM Developers mailin...
2013 Sep 24
0
[LLVMdev] [ASan] static linking on android?
...uld statically linking ASan on Android at >>> least be safe for standalone executables? >>> >>> And if I'm wanting to use ASan in C++ code that is invoked from an >>> APK, can I statically link ASan? If not, what is the reason we need >>> to preload Dalvik with the ASan shared object? I assume static >>> linking here would mean that ASan would miss leaks and overflows in >>> Dalvik, but are there other drawbacks? >>> >>> Thanks, >>> Greg >>> _______________________________________________ >&gt...
2013 Jun 21
1
[LLVMdev] ASan for Android Applications
Evgeniy, thanks for your help. > You need -eng build because preloading libraries into dalvik vm is not > allowed in user builds. JellyBean includes several bugfixes in the > dynamic loader that asan needs. Do you have the sha1 hashes for any of those patches? I might be able to track down a build that includes them. > Was there any useful output in adb logcat when your program...
2013 Jun 21
0
[LLVMdev] ASan for Android Applications
You are citing the "Android platform workflow" section, which is about sanitizing components of the Android system itself. For NDK apps, see "Android NDK workflow" in the same document. You need -eng build because preloading libraries into dalvik vm is not allowed in user builds. JellyBean includes several bugfixes in the dynamic loader that asan needs. Was there any useful output in adb logcat when your program crashed? On Fri, Jun 21, 2013 at 4:47 AM, Greg Fitzgerald <garious at gmail.com> wrote: > From: > http://address-san...
2013 Jan 21
1
[LLVMdev] Mapping registers into memory address
Hi all, I'm working on using LLVM to generate ARM code for Android's Dalvik VM. I translated some DEX bytecode to LLVM IR, and now I wnat to translate these IR into ARM assembly by using llc. But there are some ABI problems (Register mapping) should be solved. Dalvik VM stores virtual register in the fixed memory address. For example, v0 -> [r5,#0] v1 -> [r5,#4] v2...
2016 Jan 12
3
Does LLVM have java frontend?
Hi, Does LLVM have java frontend which can change Java bytecode to LLVM IR? Thanks a lot! Best, Linhai -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160112/1d9c0c7b/attachment.html>
2016 Dec 07
0
Offset too large on scattered relocations
> On Dec 6, 2016, at 5:09 PM, Rob Dalvik <rob.dalvik at gmail.com> wrote: > > CCing Nick Kledzik as I posed this question on IRC and Tim Northover suggested you as a good resource for this. > > I came across an error due to a scattered relocation offset being larger than 2**24 and I was hoping to find more information...
2013 Jun 21
3
[LLVMdev] ASan for Android Applications
From: http://address-sanitizer.googlecode.com/svn-history/r1624/wiki/Android.wiki > AddressSanitizer is fully supported in AOSP starting with JellyBean release. To run > applications built with ASan you'll need an -eng build of Android. > > To build any part of Android system with ASan, add > LOCAL_ADDRESS_SANITIZER:=true to the appropriate Android.mk. I don't see that
2016 Dec 07
2
Offset too large on scattered relocations
CCing Nick Kledzik as I posed this question on IRC and Tim Northover suggested you as a good resource for this. I came across an error due to a scattered relocation offset being larger than 2**24 and I was hoping to find more information on scattered relocations. These are MachO specific, and Ive not been able to find any documentation on them outside of source code. I have a couple of immediate
2013 Feb 04
1
[LLVMdev] The future of class2llvm tool
...conclusions? Could you answer such questions: 1) What is the future of this project? Do the LLVM Project developers have plans to develop it or "Java front end" with "class2llvm" tool live the last days? If it has a future, when it will being developed again? 2) Will it support dalvik bytecode? Any help would greatly appreciated. Sorry if I came to the wrong shop. :) With best regards, Volodymyr. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130204/03290c0b/attachment.html>
2010 Nov 16
1
[LLVMdev] Converting C++ to Java
Hi We want to use our existing engine sourcecode to build Java applications. Our core engine is written in C/C++ and has hooks to platform specific functions which we have filled in for lots of platforms so far, PC, DS, PS2, PSP, XBOX, IPHONE etc. All of which can use C/C++ as their compiler. However now we want to target Android platforms, so we are looking into converting the main body of
2012 Feb 20
0
[LLVMdev] ARM opcode format
Guillermo, > I'm sorry I forgot to mention I am compiling the bitcode using the JIT. The > actual error, I get when I'm trying to get the function to the pointer. I'm > using a custom front end that translates Android's Dalvik bytecode into LLVM > bitcode based on Android ICS's modified LLVM version. ARM JIT is broken in many ways. So, what you're seeing is perfectly expected. You might want to wait until MCJIT will be usable and/or provide patches to make this happen sooner :) -- With best regards, Anton Ko...