Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 1999 16:43:43 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.ORG, nik@nothing-going-on.demon.co.uk
Subject:   Re: Going from 2.x to 3.x using 'make world'
Message-ID:  <199901010543.QAA02013@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Has anyone successfully gone from 2.x to 3.x using 'make world'? If so, did
>you write down what you did?

How about unsucessfully? :-)  I tried going from 2.1.5 to -current and
noticed the following problems:

(1) The 2.1.5 install was very buggy.
(2) The bootstrap of `make' failed because of bitrot in the portability
    of `make' (`make' it now calls sysctlbyname()).
(3) The bootstrap of `mtree' failed because unportabilities in `mtree'
    moved (`mtree' references timespecs in struct stat, and the spelling
    of the fields changed from ts_* to tv_*).
(4) The bootstrap installs new headers early in an attempt to reduce
    problems like the one in (3), although this is wrong.  This
    is fatal for the bootstrap from 2.1.5 because the 2.1.5 compiler
    (gcc-2.2.6) doesn't understand the __attribute__ stuff in
    <machine/ansi.h>.
(5) The bootstrap installs new libraries early in an attempt to reduce
    problems like the one in (2) and to be consistent with the wrong
    headers in (4), although this is wrong.
    (a) Early building of libraries (bootstrap-libraries) was broken
        some time ago by moving it after the build of the tools that
        are necessarry to build the libraries (lib-tools).  This is
        fatal for the bootstrap from 2.1.5.
    (b) Building lib-tools first doesn't work because of some old bugs
        bootstrapping libgcc (the wrong compiler apparently gets used
        and doesn't understand new __attribute__ stuff in libgcc2.c).

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901010543.QAA02013>