Dear all,

I have a strange behavior with uClibc 0.9.28.2 on MIPS4Kc.

The configuration is:
   Buildroot OpenWRT Kamikaze 7.07
   binutils 2.17 (same problems with 2.16)
   gcc 4.1.2
   Linux Kernel 2.6.15-4 (Debian+patch)

I noticed that the system is unable to return from an handler function
registered by means the sigaction/signal. Analyzing the trace I noticed
that is invoked the mips syscall 4194 (sys_rt_sigaction, that is fine)
but on the stack is inserted a syscall 4119 (sys_sigreturn, not rt_*).
Finally on context resume I have a epc set to 0x0 that generate the
sigfault on eret. I suppose that there are some errors on context
save/restore but I don't know if is my kernel (old, but I think stable)
or some issues on uClibc.

This problem implies that all programs are unable to use signals.

Do you have some suggestion to correct this issue? Are there strange
constrains or incompatibilities on the linux kernel?

I can provide any other information (like stake frames,
configurations, ...) if you require them.

Thanks for any information.

luigi




Ing. Luigi Mantellini
Industrie Dial Face S.p.A.
Via Canzo, 4 
20068 Peschiera Borromeo (MI)
Tel.: +39 02 5167 2813
Fax: +39 02 5167 2459
E-mail: [EMAIL PROTECTED]


<<attachment: indDialFace_pulito.gif>>

_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to