On Apr 3, 5:05 am, Manish Sharma <[email protected]> wrote: > The following configurations are not working. I am getting following kernel > panic. [...] > D/AndroidRuntime( 1554): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< > D/AndroidRuntime( 1554): CheckJNI is ON > E/dalvikvm( 1554): Bad asm sizeof sizeofGlobal_debuggerActive (4), should be > 1 > E/dalvikvm( 1554): Bad asm sizeof sizeofClassStatus (4), should be 1 > E/dalvikvm( 1554): Bad asm sizeof sizeofClassStatus (4), should be 1 > E/dalvikvm( 1554): Bad asm sizeof sizeofMethodType (4), should be 1 > E/dalvikvm( 1554): Please correct the values in mterp/common/asm-constants.h > E/dalvikvm( 1554): VM aborting
I don't see a kernel panic. The above indicates that the VM is getting upset that the expected size of enumerated types is what it wanted, and is aborting. You need to coordinate HAVE_SHORT_ENUMS in system/core/include/arch/ <ARCH>/AndroidConfig.h with the enum sizes your compiler is generating. It looks like your C compiler is generating code with "short" enums and you don't have the define set. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
