Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2002 17:42:27 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        John Mills <john.m.mills@alum.mit.edu>
Cc:        JacobRhoden <jrhoden@unimelb.edu.au>, freebsd-questions@freebsd.org
Subject:   Re: buildworld problem on cyrix 166
Message-ID:  <20021218154227.GF4032@gothmog.gr>
In-Reply-To: <Pine.LNX.4.21.0212181010210.2301-100000@otter.mills-atl.com>
References:  <200212181351.05098.jrhoden@unimelb.edu.au> <Pine.LNX.4.21.0212181010210.2301-100000@otter.mills-atl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-12-18 10:27, John Mills <jmmills@telocity.com> wrote:
> On Wed, 18 Dec 2002, JacobRhoden wrote:
> > On Wed, 18 Dec 2002 13:23, Ken Kroel wrote:
> > > i am trying to update an old pc and have run into a problem with the "make
> >
> > > CPU: Cyrix 6x86 (486-class CPU)
> > >   Origin = "CyrixInstead"  DIR=0x2231  Stepping=2  Revision=2
>
> Should I specify the processor to my build environment? I have never tried
> this. Has it helped others with this build failure?

I never specify processor dependent optimizations to my builds.
I also have the following in my /etc/make.conf file:

NO_CPU_CFLAGS=  true    # Don't add -march=<cpu> to CFLAGS automatically
NO_CPU_COPTFLAGS=true   # Don't add -march=<cpu> to COPTFLAGS automatically

I didn't try enabling any sort of CPU specific flags while I still
used that Cyrix, but I also run against the same problem in one of the
upgrades from 4.4-RELEASE to 4.5-RELEASE then 4.6-RELEASE and finally
to 4.7-RELEASE.

> I only recall problems from folks doing upgrades (from RELENG_4_5 to
> RELENG_4_6, _7 in my case). Have others seen the problem when doing
> 'buildworld' on an installed system at RELENG_4_6 or later, or is this an
> 'upgrade only' issue?

Once I successfully built a 4.7-RELEASE userland (which I needed to
keep as a failover installation, in case my upgrade to 5.0-CURRENT
didn't quite work) the problems went away.  Everything worked fine
with newer upgrades of the 4.X series.

> (I have been able to get some partial and redone builds to complete, but
> never installed them because my purpose is to set a firm foundation under
> my system and I didn't feel I knew what was in the mix in those cases.)

It's probably easier to grab a CDROM image for 4.7-RELEASE and install
that, if you want to be 100% sure that everything your system runs can
be trusted.  Having written that, there's really nothing wrong with
interrupting the buildworld process after it passes the stage of the
"libraries" and continuing the process later on with -DNOCLEAN.  The
userland programs that are built after that stage will use the already
compiled binaries of /usr/obj and the `critical' parts of the system
have already been built.


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




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