Hi All,
I am trying to compiling Android 2.3 for my Blaze board(omap 4430). I have overridden arm-eabi-gcc-4.4.3(default toolchain) with arm-eabi-gcc-4.3.1. This was done by replacing all references of arm-eabi-4.4.3 with arm-eabi-4.3.1 under "build" directory of android.
But once when I tried to build Android after doing this setup, below errors were countered :
target thumb C: dalvikvm <= dalvik/dalvikvm/Main.c
target asm: libdvm <= dalvik/vm/arch/arm/CallOldABI.S
cc1: error: unrecognized command line option "-Wno-psabi"
make: *** [out/target/product/blaze/obj/EXECUTABLES/dalvikvm_intermediates/Main.o] Error 1
make: *** Waiting for unfinished jobs....
target asm: libdvm <= dalvik/vm/arch/arm/CallEABI.S
cc1: error: unrecognized command line option "-Wno-psabi"
To solve the above errors, I commented all references of "-Wno-psabi" flags from .mk files.
Finally again building the Android I am getting following errors:
dalvik/vm/Ddm.c:374: internal compiler error: Segmentation fault
make: *** [out/target/product/blaze/obj/SHARED_LIBRARIES/libdvm_intermediates/Ddm.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C: libdvm <= dalvik/vm/Intern.c
dalvik/vm/Init.c: In function 'dvmInitJDWP':
dalvik/vm/Init.c:1452: internal compiler error: Segmentation fault
make: *** [out/target/product/blaze/obj/SHARED_LIBRARIES/libdvm_intermediates/Init.o] Error 1
dalvik/vm/Exception.c: In function 'dvmThrowExceptionFmtV':
dalvik/vm/Exception.c:190: internal compiler error: Segmentation fault
make: *** [out/target/product/blaze/obj/SHARED_LIBRARIES/libdvm_intermediates/Exception.o] Error 1
dalvik/vm/Debugger.c: In function 'dvmDbgOutputAllMethods':
dalvik/vm/Debugger.c:1261: internal compiler error: Segmentation fault
Can any one please let me know how I can fix this issue. Any help will be highly appreciated.