Dynamic lib loading & memory question
Joakim Tjernlund
Joakim.Tjernlund at lumentis.se
Sat Jun 26 02:44:10 EST 2004
> Hello,
> I have a simple hello world program I'm trying to compile and run on a
> custom PPC(855T) board. It will work fine if I statically link the
> executable with the necessary libs. However if I don't statically link
> (relying on ld.so etc.), the program will core dump. My system has 16M of
> SDRAM (I just upgraded it from 8M and I believe it's configured right).
> Anyway, here's the output and other info that might help someone tell me
> what I'm doing wrong...thanks so much!
> ########################################
> ### The "bad" version:
> ########################################
> root at raptorlinux->~ [10] ./hw_ppc
> Segmentation fault (core dumped)
Examine the coredump with gdb. Disassemble the instructions around the
Seg. fault and post to the list.
Jocke
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list