From owner-freebsd-arch Tue Jun 20 6: 0:40 2000 Delivered-To: freebsd-arch@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 0B4C737B7FB for ; Tue, 20 Jun 2000 06:00:36 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (qmail 12144 invoked from network); 20 Jun 2000 13:00:32 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 20 Jun 2000 13:00:32 -0000 Date: Tue, 20 Jun 2000 23:00:30 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Mark Murray Cc: arch@FreeBSD.ORG Subject: Re: AOUT support for "make world"? In-Reply-To: <200006191852.UAA02412@grimreaper.grondar.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 19 Jun 2000, Mark Murray wrote: > Question: do we still support a.out make worlds? I have _no_ way Not in practice. In theory, something like "TARGETOBJFORMAT=aout make world" should build an aout world, but we don't have TARGETOBJFORMAT. "OBJFORMAT=aout make world" isn't quite the same, but it should work on systems that have aout libraries. Running it showed the following bugs: - linking of the gperf tool failed, apparently due to bitrot in the aout C++ libraries (I'm using ones built locally a year or two ago). - linking of the objdump tool failed, due to bitrot in the aout libc (missing mkstemps()). Several other tools have the same bug, so I stopped attempting to build here. Commit mail has shown the following bugs: - libc now uses weak symbols, but aout doesn't support weak symbols. This may only break libc_r. > Perl has (had) a special case for a.out builds, and I'd like to > remove this in favour of ELF-only. > > May I do this? I don't see any reason to support building the whole world in aout format. Only building of libraries in aout format, and bootstrapping from aout systems should be supported. The latter is a special case of cross-building. Bootstrapping from systems without perl has been unsupported for a year now, for both aout and elf host systems. Fixing it might involve making perl a build-tool, but that would be too hard to do right. Instead, makeworld should be changed to not use perl, or to use only miniperl, or to have postinstall stage(s) which run the target perl. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message