Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 23:00:30 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Mark Murray <mark@grondar.za>
Cc:        arch@FreeBSD.ORG
Subject:   Re: AOUT support for "make world"?
Message-ID:  <Pine.BSF.4.21.0006202300020.2641-100000@besplex.bde.org>
In-Reply-To: <200006191852.UAA02412@grimreaper.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006202300020.2641-100000>