Buildworld broken with NO_TOOLCHAIN
Ruslan Ermilov
ru at freebsd.org
Sun Sep 19 23:47:44 PDT 2004
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:
> >
> > --------------------------------------------------------------
> > >>> stage 2.3: build tools
> > --------------------------------------------------------------
> > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj DESTDIR= INSTALL="sh
> > /usr/src/tools/install.sh"
> > PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/i386 MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" make -f Makefile.inc1 BOOTSTRAPPING=503000 -DNOLINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
> > ===> bin/csh
> > ===> bin/sh
> > cc -Os -march=i486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/bin/sh/mkinit.c
> > cc -Os -march=i486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/obj/usr/src/i386/legacy/usr/include -L/usr/obj/usr/src/i386/legacy/usr/lib mkinit.o -o mkinit
> > cc -Os -march=i486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/bin/sh/mknodes.c
> > cc -Os -march=i486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/obj/usr/src/i386/legacy/usr/include -L/usr/obj/usr/src/i386/legacy/usr/lib mknodes.o -o mknodes
> > cc -Os -march=i486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/bin/sh/mksyntax.c
> > cc -Os -march=i486 -mmmx -pipe -DSHELL -I. -I/usr/src/bin/sh -I/usr/obj/usr/src/i386/legacy/usr/include -L/usr/obj/usr/src/i386/legacy/usr/lib mksyntax.o -o mksyntax
> > ===> gnu/usr.bin/cc/cc_tools
> > make: don't know how to make /usr/obj/usr/src/i386/usr/include/sys/param.h. Stop
> > *** Error code 2
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> >
> >
> > I have NO_TOOLCHAIN=yes in /etc/make.conf. This option worked fine with
> > 5.2.1-RELEASE.
> >
> 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.
>
> I will ask RE's permission to MFC this.
>
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
:
: FreeBSD src repository
:
: Modified files:
: . Makefile.inc1
: gnu/usr.bin/cc/cc_tools Makefile
: 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.
:
: Caught this by accidentally touching param.h while in the process
: of cross-buildworld for amd64.
:
: Revision Changes Path
: 1.440 +1 -1 src/Makefile.inc1
: 1.80 +0 -10 src/gnu/usr.bin/cc/cc_tools/Makefile
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040920/9ee1bac7/attachment.bin
More information about the freebsd-current
mailing list