From owner-freebsd-current@FreeBSD.ORG Mon Sep 20 06:47:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 001C716A4CE for ; Mon, 20 Sep 2004 06:47:43 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3705443D2D for ; Mon, 20 Sep 2004 06:47:43 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (oak.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i8K6lgDM032283; Mon, 20 Sep 2004 09:47:42 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 22146-05; Mon, 20 Sep 2004 09:47:41 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i8K6lfC1032280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Sep 2004 09:47:41 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i8K6lhGS041839; Mon, 20 Sep 2004 09:47:43 +0300 (EEST) (envelope-from ru) Date: Mon, 20 Sep 2004 09:47:43 +0300 From: Ruslan Ermilov To: Francois Tigeot Message-ID: <20040920064743.GG41401@ip.net.ua> References: <20040919201236.GA67382@aoi.wolfpond.org> <20040920064435.GF41401@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8bBEDOJVaa9YlTAt" Content-Disposition: inline In-Reply-To: <20040920064435.GF41401@ip.net.ua> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: current@freebsd.org Subject: Re: Buildworld broken with NO_TOOLCHAIN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 06:47:44 -0000 --8bBEDOJVaa9YlTAt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 20, 2004 at 09:44:35AM +0300, Ruslan Ermilov wrote: > On Sun, Sep 19, 2004 at 10:12:36PM +0200, Francois Tigeot wrote: > > Trying to build world on 5.3-BETA5: > >=20 > > -------------------------------------------------------------- > > >>> stage 2.3: build tools > > -------------------------------------------------------------- > > cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj DESTDIR=3D INSTALL=3D"sh > > /usr/src/tools/install.sh" > > PATH=3D/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/lega= cy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr= /bin WORLDTMP=3D/usr/obj/usr/src/i386 MAKEFLAGS=3D"-m /usr/src/tools/build= /mk -m /usr/src/share/mk" make -f Makefile.inc1 BOOTSTRAPPING=3D503000 -D= NOLINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools > > =3D=3D=3D> bin/csh > > =3D=3D=3D> bin/sh > > cc -Os -march=3Di486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/o= bj/usr/src/i386/legacy/usr/include -c /usr/src/bin/sh/mkinit.c > > cc -Os -march=3Di486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/o= bj/usr/src/i386/legacy/usr/include -L/usr/obj/usr/src/i386/legacy/usr/lib m= kinit.o -o mkinit > > cc -Os -march=3Di486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/o= bj/usr/src/i386/legacy/usr/include -c /usr/src/bin/sh/mknodes.c > > cc -Os -march=3Di486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/o= bj/usr/src/i386/legacy/usr/include -L/usr/obj/usr/src/i386/legacy/usr/lib m= knodes.o -o mknodes > > cc -Os -march=3Di486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/o= bj/usr/src/i386/legacy/usr/include -c /usr/src/bin/sh/mksyntax.c > > cc -Os -march=3Di486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/o= bj/usr/src/i386/legacy/usr/include -L/usr/obj/usr/src/i386/legacy/usr/lib m= ksyntax.o -o mksyntax > > =3D=3D=3D> gnu/usr.bin/cc/cc_tools > > make: don't know how to make /usr/obj/usr/src/i386/usr/include/sys/para= m.h. Stop > > *** Error code 2 > >=20 > > Stop in /usr/src. > > *** Error code 1 > >=20 > > Stop in /usr/src. > > *** Error code 1 > >=20 > > Stop in /usr/src. > >=20 > >=20 > > I have NO_TOOLCHAIN=3Dyes in /etc/make.conf. This option worked fine wi= th > > 5.2.1-RELEASE. > >=20 > This is a known problem (in RELENG_5). I've committed a fix for it in > HEAD a month and two days ago. I bet you were running -DNOCLEAN build. > Please pull up the latest src/gnu/usr.bin/cc/cc_tools/Makefile revision > (1.80) from HEAD, and it will be fixed. >=20 > I will ask RE's permission to MFC this. >=20 Oops, you also need to apply an accompanying change to src/Makefile.inc1. You need the following commit applied to RELENG_5: : ru 2004-08-18 13:21:40 UTC :=20 : FreeBSD src repository :=20 : Modified files: : . Makefile.inc1=20 : gnu/usr.bin/cc/cc_tools Makefile=20 : Log: : A fix from rev. 1.52 of gnu/usr.bin/cc/cc_tools/Makefile was lost : in rev. 1.57. Fix this regression by making cc_tools a new-style : build-tool in Makefile.inc1. For details of what has been fixed, : please see the gnu/usr.bin/cc/cc_tools/Makefile,v 1.52 commit log. : =20 : Caught this by accidentally touching param.h while in the process : of cross-buildworld for amd64. : =20 : Revision Changes Path : 1.440 +1 -1 src/Makefile.inc1 : 1.80 +0 -10 src/gnu/usr.bin/cc/cc_tools/Makefile Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --8bBEDOJVaa9YlTAt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBTn0PqRfpzJluFF4RAomwAJwP/Zg28HayWG/mvxJ+AOgDyaecZACcDA2F Vg7l8bRYRDGeCHjtUrrDuqo= =iNMX -----END PGP SIGNATURE----- --8bBEDOJVaa9YlTAt--