buildworld fails on FreeBSD-4.9 stable

Matthew Dillon dillon at
Thu Feb 19 18:39:03 PST 2004

:CPUTYPE=	i686
:CCVER=		gcc3
:NO_I4B=		true
:NOINFO=		true
:here's the buidlworld output (with todays src):

    You can't buildworld with gcc3 when bootstrapping from 4.x.  You have
    to do a standard buildworld without any special options.  Once you are
    running in a DragonFly environment you can (theoretically) rebuild the
    world and kernel with gcc3.

:/home/dcvs/src/usr.bin/kdump/../../sys/sys/cdrio.h:89: warning: this is the location of the previous definition
:In file included from ioctl.c:45:
:/usr/obj/home/dcvs/src/i386/usr/include/machine/i4b_debug.h:195: conflicting types for `ctl_debug_t'
:/usr/obj/home/dcvs/src/i386/usr/include/i4b_machine/i4b_debug.h:199: previous declaration of `ctl_debug_t'
:/usr/obj/home/dcvs/src/i386/usr/include/machine/i4b_debug.h:214: conflicting types for `hfcstat_t'

    I find it amazing that it got even that far.

:I've done "rm /usr/include ; cd /usr/src ; make installincludes"

    You've gotten yourself in a bind.  If you are trying to upgrade a
    4.x box into DragonFly you can't mix 4.x binaries and DFly header files.
    The initial buildworld and buildkernel must be done in a 4.x environment.
    By ripping up the include files and installing just the DFly includes, 
    but still running on a 4.x system, you've created a mixed environment
    and all sorts of things are not going to build properly.

    It might be easier to backup the data you want to keep and then install
    from scratch from the DragonFly Live CD.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Bugs mailing list