(no subject)

Christoph Zirn chzirn at gmx.net
Tue Jan 3 23:42:00 UTC 2006


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! 
Christoph

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie




More information about the Strace-devel mailing list