Subject: Re: Cross-building from FreeBSD/amd64 works great!
To: None <tech-toolchain@netbsd.org>
From: Andrew Reilly <andrew-netbsd@areilly.bpc-users.org>
List: tech-toolchain
Date: 06/28/2006 20:40:52
Hi toolchain heroes.  I just thought that I'd let you know that
essentially all of the problems that I'd been having, cross building
NetBSD-current on my FreeBSD/amd64 system have been resolved,
and my router/firewall is now happily running the result.

Yay!  Immense thanks!

There was one tiny toolchain glitch, right at the end, but that
doesn't appear to have affected the result negatively:

===> Successful make distribution
===> Building sets from pre-populated /home/andrew/obj/destdir.i386
sets ===> distrib/sets
    execute  checkflist
Creating base.tgz
Creating comp.tgz
Creating etc.tgz
Creating games.tgz
Creating man.tgz
Creating misc.tgz
Creating text.tgz
make: illegal argument to d option -- e
usage: make [-BPSXeiknqrstv] [-C directory] [-D variable]
        [-d flags] [-E variable] [-f makefile] [-I directory]
        [-j max_jobs] [-m directory] [-V variable]
        [variable=value] [target ...]

followed by six identical error messages, and then the final
report.  FreeBSD's make doesn't have "-d e", so I guess that one
of the "sets" scripts doesn't refer to TOOLDIR/nbmake and just
uses "make", but I looked for that for a while, and couldn't see
where it was happening.

===> Successful make sets
===> build.sh started: Tue Jun 27 16:32:17 EST 2006
===> build.sh ended:   Tue Jun 27 17:38:22 EST 2006
===> Summary of results:
         build.sh command: ./build.sh -u -T /home/andrew/tools-amd64 -O /home/andrew/obj -U tools kernel=GENERIC distribution sets
         build.sh started: Tue Jun 27 16:32:17 EST 2006
         MACHINE:          i386
         MACHINE_ARCH:     i386
         TOOLDIR path:     /home/andrew/tools-amd64
         DESTDIR path:     /home/andrew/obj/destdir.i386
         RELEASEDIR path:  /home/andrew/obj/releasedir
         makewrapper:      /home/andrew/tools-amd64/bin/nbmake-i386
         Updated /home/andrew/tools-amd64/bin/nbmake-i386
         Tools built to /home/andrew/tools-amd64
         Building kernel:  GENERIC
         Build directory:  /home/andrew/obj/sys/arch/i386/compile/GENERIC
         Kernels built from GENERIC:
          /home/andrew/obj/sys/arch/i386/compile/GENERIC/netbsd
         Successful make distribution
         Building sets from pre-populated /home/andrew/obj/destdir.i386
         Successful make sets
         build.sh started: Tue Jun 27 16:32:17 EST 2006
         build.sh ended:   Tue Jun 27 17:38:22 EST 2006
===> .

As you can see, that's with no multiple jobs, only using one
processor.  I'm pretty happy with that!  I'll try again with an
empty TOOLDIR and empty obj and -j4 or so, next.

Cheers,

-- 
Andrew