From owner-freebsd-hackers Tue Jul 18 10:22: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 140C937B79F for ; Tue, 18 Jul 2000 10:22:01 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id KAA28355; Tue, 18 Jul 2000 10:22:00 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id KAA12267; Tue, 18 Jul 2000 10:21:59 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Tue, 18 Jul 2000 10:21:59 -0700 (PDT) Message-Id: <200007181721.KAA12267@vashon.polstra.com> To: johnnyteardrop@hotmail.com Subject: Re: rtld problem In-Reply-To: <20000718171438.22495.qmail@hotmail.com> References: <20000718171438.22495.qmail@hotmail.com> Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <20000718171438.22495.qmail@hotmail.com>, Greg Thompson wrote: > i'm having trouble with the runtime linker. What version of FreeBSD? > my app references symbols in a shared lib. the shared lib uses > symbols in another shared lib. if i like my app only against lib #1, > it crashes while initializing static objects in lib #2. if i link > my app against both lib #1 and lib #2, it runs fine. i believe the > problem is that the runtime linker/loader is initializing objects > out of order. Is your test case something that you can package up and send to me in a form that makes it easy for me to reproduce the problem? John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message