From owner-freebsd-current Thu May 6 1:12: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 16896158BF for ; Thu, 6 May 1999 01:12:01 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.9.2/8.9.1) id BAA25681; Thu, 6 May 1999 01:11:42 -0700 (PDT) (envelope-from obrien) Message-ID: <19990506011142.A25660@nuxi.com> Date: Thu, 6 May 1999 01:11:42 -0700 From: "David O'Brien" To: Brian Behlendorf , current@FreeBSD.ORG Subject: Re: problem bootstrapping egcs Reply-To: obrien@NUXI.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Brian Behlendorf on Wed, May 05, 1999 at 11:55:39PM -0700 X-Operating-System: FreeBSD 3.1-STABLE Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > the build of egcs. My understanding was that to bootstrap over the change > I should first (before the make world) do: VERY wrong. All you want to do is a normal ``make world'' (or ``make buildworld'') > # cd /usr/src/gnu/usr.bin/cc; make clean; make obj > # make ... > ===> cc ... > /usr/obj/usr/src/gnu/usr.bin/cc/cc/../cc_drv/libcc_drv.a(choose-temp.o): > In function `make_temp_file': > choose-temp.o(.text+0x284): undefined reference to `mkstemps' > *** Error code 1 There are bootstraping issues that are dealt with in ``make world'' that you are not handling in your manually doing it. In this case egcs depends on new libc functionality and you haven't manually built a new libc first. Of course ``make world'' builds the important librarires 1st and then uses those when compiling the commands and other binaries. -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message