I'm porting bionic to our cpu I've edited makefiles to enable the compiling process for our arch
make TARGET_ARCH=myarch BUILD_TINY_ANDROID=true HOST_C_INCLUDES="" HOST_CUSTOM_LD_COMMAND=false If the last two options are not added, bionic will be included into host_c_includes, and host_custom_ld_command will be true I don't know why, and I haven't found anyplace which assign value to these variables... Now, during the compiling of acp and aprior, things went wrong. The compiler complain about undefind reference to "__stack_chk_fail" and "__stack_chk_guide" I've compared the g++ options between arm and our arch, only libelf_arm.a was not generated in my arch I've also check the symbols defined in libebl.a libelf.a libelfcopy.a, I found that in my *.a symbol __stack_chk_fail is undefined, but *.a of arm symbol __stack_chk_fail_local is undefined, which is defined in the toolchain in prebuilt I've been trapped here for a long time, and i still can't figure out a solution P.S. I'm using the toolchain of our own arch. And my target is to port bionic to our arch... --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
