[android-porting] Gingerbread linker crash on Linux kernel 3.0

2011-08-24 Thread Yan Weichuan
I am working on Gingerbread 2.3.5 + Linux kernel 3.0, but I found all dynamic execute application will crash. And with the gdb, it show the application crash at call_arry function at linker.c. My ARM cpu is arm- v7a. Does anyone have some idea about this? (gdb) bt #0 0xafd14e44 in ?? () #1

Re: [android-porting] Gingerbread linker crash on Linux kernel 3.0

2011-08-24 Thread David Turner
It's the function that calls a shared-library or executable list of constructor functions. It is likely a constructor crashing. Unfortunately, the shared library's mapping is not available to gdb until after the constructors have run It's a know bug, you could try changing the lines in linker.c