From owner-freebsd-current Wed Dec 20 17:33:16 2000 From owner-freebsd-current@FreeBSD.ORG Wed Dec 20 17:33:12 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from ns5.pacific.net.au (ns5.pacific.net.au [203.143.252.30]) by hub.freebsd.org (Postfix) with ESMTP id 70C8437B400; Wed, 20 Dec 2000 17:33:10 -0800 (PST) Received: from dungeon.home (ppp201.dyn248.pacific.net.au [203.143.248.201]) by ns5.pacific.net.au (8.9.0/8.9.1) with ESMTP id MAA02102; Thu, 21 Dec 2000 12:33:06 +1100 (EST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.11.1/8.9.3) with ESMTP id eBL1XfA10222; Thu, 21 Dec 2000 11:33:41 +1000 (EST) (envelope-from mckay) Message-Id: <200012210133.eBL1XfA10222@dungeon.home> X-Mailer: exmh version 2.1.1 1999-10-15 To: "Donald J . Maddox" Cc: freebsd-current@freebsd.org, mckay@thehub.com.au, "David O'Brien" Subject: Re: Is compatibility for old aout binaries broken? In-Reply-To: Message from "Donald J . Maddox" of "Wed, 20 Dec 2000 13:30:03 EST." <20001220133003.B7333@cae88-102-101.sc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 Dec 2000 11:33:41 +1000 From: Stephen McKay Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 20th December 2000, "Donald J . Maddox" wrote: >On Wed, Dec 20, 2000 at 10:14:09AM -0800, David O'Brien wrote: >> On Wed, Dec 20, 2000 at 11:15:55PM +1000, Stephen McKay wrote: >> > Correcting slightly for your slightly off assumption: The X11 libs were >> > probably built on a 3.x box. Their problem is that being newer than >> > libc.so.2.2 (or was it libc.so.3.0) they use ___error but libc does not >> > supply it. My patches to rtld-aout (that first appeared in FreeBSD >> > 3.0) supply ___error in this case. This is the only full fix for this >> > situation. >> >> Why is not changing the XFree86-aoutlibs port to offer libs built on >> 2.2.x not the right fix? > >I was under the impression that this was already the case... The libs >in the XFree86-aoutlibs port ARE from 2.2.x. My problem was that I >was using libs built on 3.x. (I think I can save a lot of typing by replying to this message. I'm just about to leave town.) My whole point is that generating a.out binaries and libraries didn't stop the instant that 3.0 hit the streets. To support the mixture of old binary plus new library you need a hacked ld.so. We have to supply it somehow, or simply say we don't care about certain binaries dying with obscure error messages. This XFree86-aoutlibs vs libs built on 3.x example supports my theme. I can't reconcile your naming convention (ie compat22 bits originated on a 2.2.x box) with my version (compat22 is used to support 2.2.x binaries). I'm also not afraid that a binary generated on 4.2 would have hidden defects. I'm more worried that one generated on 2.2.x would have defects we've forgotten about. If you don't mind pausing the whole argument for about 4 days, I can rejoin. :-) Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message