From owner-freebsd-current Mon Dec 18 7: 0: 5 2000 From owner-freebsd-current@FreeBSD.ORG Mon Dec 18 07:00:02 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 1546937B400; Mon, 18 Dec 2000 06:59:58 -0800 (PST) Received: from dungeon.home (ppp2.dyn249.pacific.net.au [203.143.249.2]) by ns5.pacific.net.au (8.9.0/8.9.1) with ESMTP id BAA07219; Tue, 19 Dec 2000 01:59:54 +1100 (EST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.11.1/8.9.3) with ESMTP id eBIF0S612182; Tue, 19 Dec 2000 01:00:28 +1000 (EST) (envelope-from mckay) Message-Id: <200012181500.eBIF0S612182@dungeon.home> To: dmaddox@sc.rr.com Cc: current@freebsd.org, mckay@thehub.com.au, jkh@freebsd.org Subject: Re: Is compatibility for old aout binaries broken? References: <20001216161756.A6370@cae88-102-101.sc.rr.com> <200012171658.eBHGwGW24109@dungeon.home> <20001217135431.C9721@cae88-102-101.sc.rr.com> <200012180641.eBI6fH607564@dungeon.home> <20001218014656.A17483@cae88-102-101.sc.rr.com> In-Reply-To: <20001218014656.A17483@cae88-102-101.sc.rr.com> from "Donald J . Maddox" at "Mon, 18 Dec 2000 01:46:56 -0500" Date: Tue, 19 Dec 2000 01:00:28 +1000 From: Stephen McKay Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 18th December 2000, "Donald J . Maddox" wrote: >On Mon, Dec 18, 2000 at 04:41:17PM +1000, Stephen McKay wrote: >> >> I expected some build tool expert to say "Just compile with these >> options". But they haven't. So I'll see if the bits have rotted, >> or whether we can keep building ld.so instead of just including >> an age old binary. >Well, if you do manage to uncover the lost magic, please let me know :) It's getting a little more magic every day to generate a.out stuff, but not all that bad. Basically I built lib/csu/i386, gnu/lib/libgcc, lib/libc and libexec/rtld-aout, in order, with these settings: NOMAN=yup DESTDIR="" OBJFORMAT=aout MAKEOBJDIRPREFIX=/usr/obj/aout In each directory, I used make obj, make, make install. (By the way, there are a lot of twisty little passages in /usr/share/mk. One of them required me to add DESTDIR="", which should be a NOP.) The generated ld.so has bloated a bit :-) but works fine. So we could in principle build ld.so for every release. It's just a question of whether we should. I think we should. But it might be just as easy to copy it off the 3.3 CD every time. It's dead end stuff after all. Does the release engineer have an opinion? Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message