Thread (3 messages) 3 messages, 3 authors, 2004-06-25

RE: Dynamic lib loading & memory question

From: Joakim Tjernlund <hidden>
Date: 2004-06-25 16:44:10

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@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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help