From owner-freebsd-current Wed Mar 20 9:50:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 45D9237B400 for ; Wed, 20 Mar 2002 09:50:35 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id g2KHoFx49188; Wed, 20 Mar 2002 17:50:16 GMT (envelope-from mark@grimreaper.grondar.za) Received: from grimreaper (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.2/8.12.2) with ESMTP id g2KHlW4j069746; Wed, 20 Mar 2002 17:47:32 GMT (envelope-from mark@grimreaper.grondar.za) Message-Id: <200203201747.g2KHlW4j069746@grimreaper.grondar.org> To: John Polstra Cc: current@FreeBSD.ORG Subject: Re: rtld messing up? References: <200203201711.g2KHBFx04348@vashon.polstra.com> In-Reply-To: <200203201711.g2KHBFx04348@vashon.polstra.com> ; from John Polstra "Wed, 20 Mar 2002 09:11:15 PST." Date: Wed, 20 Mar 2002 17:47:32 +0000 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Technically, the ELF spec permits the ordering, so the assumptions > > are really "broken", even though they code for what's really a > > defacto-standard of many years, now. 8-(. > > Can you be more specific? To the best of my knowledge, I made no > assumptions beyond what the spec promised. The only exception is that > the dynamic linker relies on the program header being in the first > page of the file, an assumption shared by the kernel as well. I don't > think that assumption is wrong, or nothing would run at all. I'm going to sound like a prat here, mostly because I don't know what I'm talking about. :-) In ports/lang/gcl, a program is "undumped", and the resultant binary dumps core _very_ early in the startup. I can't get debugging info, because the undumping also seems to strip the program. Could you please try that port, and see what you can glean? I'm frobbing around in xemacs, which works, to see if I can't fix undump. M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message