On Sun, 7 Apr 2013, ishare wrote:
my /bin/sh programme run failed, due to ld.so not expected exit.
That's not a very precise description of the issue, and doesn't look related to gcc.
I use ldd command to look all depended .so lib ,it is : linux-gate.so.1 => (0xb77c9000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb778f000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7648000) /lib/ld-linux.so.2 (0xb77ca000) if linux-gate.so.1 does not exist ,can ld.so work fine ?
Did you try googling for "linux-gate.so.1"? The first 10 hits are answers to this question.
-- Marc Glisse