From owner-freebsd-threads@FreeBSD.ORG Mon Jun 30 19:29:21 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B76C37B401 for ; Mon, 30 Jun 2003 19:29:21 -0700 (PDT) Received: from web80503.mail.yahoo.com (web80503.mail.yahoo.com [66.218.79.73]) by mx1.FreeBSD.org (Postfix) with SMTP id BAAF943F3F for ; Mon, 30 Jun 2003 19:29:20 -0700 (PDT) (envelope-from xiongjinshan@yahoo.com) Message-ID: <20030701022915.50290.qmail@web80503.mail.yahoo.com> Received: from [218.79.98.26] by web80503.mail.yahoo.com via HTTP; Mon, 30 Jun 2003 19:29:15 PDT Date: Mon, 30 Jun 2003 19:29:15 -0700 (PDT) From: xiong jinshan To: deischen@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: threads@freebsd.org Subject: Re: About the kse signal process X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 02:29:21 -0000 --- Daniel Eischen 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