Hi All, Good news!I can boot the emulator now. I add several logs to linker.c, and the output info surprised me. All these 3 so size are bigger than built lib size more than 50%! That is to say, "libavcodec.so" under /out/target/product/generic/ obj/ lib is 2M, but you can see its real size is more than 6M when running! I gave the libavcodec.so a slot in "prelink-linux-arm.map" with the size of 3M only, so it got stuck when booting-_-// When I changed the slot size to 7M, booting successfully! I hope this case can help other people.
Nevertheless, who can tell me why the lib size became so large when running? 09-29 04:14:23.993: DEBUG/Linker(554): mmap prelinked lib libavutil.so at 0x33800000, size = 45056 09-29 04:14:23.993: DEBUG/Linker(554): libavutil.so is mapped to 0x33800000 09-29 04:14:23.993: DEBUG/Linker(554): mmap prelinked lib libavcodec.so at 0x33100000, size = 6950912 09-29 04:14:23.993: DEBUG/Linker(554): libavcodec.so is mapped to 0x33100000 09-29 04:14:24.162: DEBUG/Linker(554): mmap prelinked lib libavformat.so at 0x33000000, size = 737280 09-29 04:14:24.162: DEBUG/Linker(554): libavformat.so is mapped to 0x33000000 --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
