About the kse signal process

xiong jinshan xiongjinshan at yahoo.com
Mon Jun 30 19:29:21 PDT 2003


--- Daniel Eischen <eischen at vigrid.com> wrote:
> On Mon, 30 Jun 2003, xiong jinshan wrote:
> > It received the SIGSEGV before the main() when I
> > linked   with libc_r;(.
> 
> I think you have something screwed up somewhere.
> How did you compile and link it?

Yes, it maybe my fault. 

If I link libc_r with static, it works correctly. 
If I link it with dynamic, segv occurs.
If I not linked c_r, th_func() couldn't received the
alarm.

Why must it be linked with static mode? Does it mean
the native c library in release 5.1 not reentrant?

> 
> -- 
> Dan Eischen
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


More information about the freebsd-threads mailing list