From owner-freebsd-current Thu Oct 28 9:57: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 061F2151C6 for ; Thu, 28 Oct 1999 09:57:02 -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 JAA27256; Thu, 28 Oct 1999 09:56:57 -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 JAA04489; Thu, 28 Oct 1999 09:56:52 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Thu, 28 Oct 1999 09:56:52 -0700 (PDT) Message-Id: <199910281656.JAA04489@vashon.polstra.com> To: sobomax@altavista.net Subject: Re: ld-elf.so.1 weirdness In-Reply-To: <3818467A.EA4DB1DE@altavista.net> References: <3818467A.EA4DB1DE@altavista.net> Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <3818467A.EA4DB1DE@altavista.net>, Maxim Sobolev wrote: > For a quite long time I searched for the way to reproduce this bug, > and it seems that I've finally found how to do it. In most cases > attempt to make any port on a freshly booted system stops with: > > /usr/libexec/ld-elf.so.1: /usr/bin/awk: Shared object has no run-time symbol > table > > but when I'm trying to run make again with the same port it works > flawlessly. I haven't heard any other reports of this. I'm almost certain it is caused by something outside the dynamic linker -- probably a kernel bug. The debugging output you included shows evidence that the dynamic linker is seeing garbage when it mmaps your executable. The fact that it works OK after the first attempt also points to the VM system as the culprit. The dynamic linker hasn't changed much recently, but the kernel has changed a lot. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message