strace with uClibc problem

- - chzirn at hotmail.com
Fri Dec 30 08:48:57 UTC 2005


I had a problem with strace and uClibc (uClibc-0.9.28) on my embedded arm9 
(at91rm9200) system.

When I compile my hello_world programm statically against the uClibc I can 
strace the application
without any problems:
build:
>arm-linux-gcc -static -o hello hello.c
run:
>strace hello
execve("./hello", ["./hello"], [/* 7 vars */]) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 opost isig icanon echo 
...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 opost isig icanon echo 
...}) = 0
write(1, "Hello World\n", 12Hello World)           = 12
_exit(0)                                = ?

But when I compile it dynamically against the uClibc i had the following 
error while running strace:
build:
>arm-linux-gcc -o hello hello.c
run:
>strace hello
execve("./hello", ["./hello"], [/* 7 vars */]) = 0
syscall: unknown syscall trap 0xe1a00000

Thanks for any help!

_________________________________________________________________
Highlight Viewer - heben Sie von Ihnen gesuchte Wörter auf Webseiten hervor. 
http://toolbar.msn.ch?&DI=165&XAPID=2170




More information about the uClibc mailing list