Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 21:58:04 -0500
From:      Randall Hopper <aa8vb@ipass.net>
To:        John Polstra <jdp@polstra.com>
Cc:        stable@freebsd.org
Subject:   Re: Dynamic linker bug in 3.4-RELEASE (I think)
Message-ID:  <20000327215804.A64173@ipass.net>
In-Reply-To: <200003280211.SAA03086@vashon.polstra.com>; from jdp@polstra.com on Mon, Mar 27, 2000 at 06:11:27PM -0800
References:  <20000317195156.A24243@ipass.net> <200003280211.SAA03086@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra:
 |In article <20000317195156.A24243@ipass.net>,
 |Randall Hopper  <aa8vb@ipass.net> wrote:
 |> I have a small program I wrote that uses sigwait and takes about 1 second
 |> to complete.  
 |> 
 |> If I run it over-and-over many times repeatedly, occasionally the dynamic
 |> linker will fail to resolve the "sigwait" symbol.
 |
 |Is your program multi-threaded?  There are some known problems in
 |connection with that.

This program isn't threaded, though I compiled it with -pthread (another
util in that dir is threaded, and I'd used the same CFLAGS for both).

 |Try setting LD_BIND_NOW=1 in the environment and see if that changes
 |the behavior.

That seemed to clear it up.  (Though, it happens so rarely it's hard to be
sure.)

Randall


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000327215804.A64173>