Bootstrap failure: objdir=srcdir, FreeBSD make
David O'Brien
obrien@freebsd.org
Thu Feb 8 00:16:00 GMT 2001
On Wed, Feb 07, 2001 at 03:09:02PM -0800, Zack Weinberg wrote:
> On Wed, Feb 07, 2001 at 01:00:28PM -0800, David O'Brien wrote:
> > On Mon, Feb 05, 2001 at 04:41:25PM +0100, Gerald Pfeifer wrote:
> > > With objdir=srcdir on FreeBSD 4.2 and FreeBSD make, I get the following
> > > bootstrap error for current CVS sources of GCC:
> >
> > I've never dreamed of getting the GCC bootstrap to work with Bmake. Is
> > there actually interest in making it work?
>
> It's supposed to work with any POSIX.1-compliant make, however I
> *know* we use chunks of (supposedly) ubiquitous-but-nonstandard
> functionality. Frex, VPATH isn't in POSIX to the best of my
> knowledge, nor are indirect variable substitutions [$(foo-$(bar))].
> Actual gnumake-isms, as opposed to ubiquitous-but-nonstandard isms,
> are to be shot on sight.
>
> I have in the past been able to bootstrap GCC with Debian's pmake,
> which unfortunately appears to have cribbed patches from all three of
> {Free,Net,Open}BSD CVS trees, and has further been bludgeoned into
> functioning on a Linux-based OS. So I can't say for sure if it works
> on any actual *BSD. Also I have not tried objdir=srcdir in years.
Will Andrews has been working on taking OpenBSD and NetBSD make(1)
changes and folding into FreeBSD. Maybe he knows of some more in the
works that would help the issue (or can look at the ones used in building
Debian's pmake).
> It is my *personal* opinion that everyone's life would be made easier
> if we gave up and required gnumake, but I don't wish to make a fuss
> over it.
I pretend that has already happened in FreeBSD'ville. :-)
--
-- David (obrien@FreeBSD.org)
More information about the Gcc-bugs
mailing list