Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 22:47:19 +0200
From:      Thierry Herbelot <thierry@herbelot.com>
To:        Gheorghe Ardelean <ardelean@ww.uni-erlangen.de>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Problems installing STABLE
Message-ID:  <3D1E1CD7.B88F6A44@herbelot.com>
References:  <Pine.LNX.4.33.0206291915190.18460-100000@servww6.ww.uni-erlangen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Gheorghe Ardelean wrote:
> 
> Hello,
> 
> I've compiled STABLE on a PII and installed fine (CPUTYPE=i686).
> Then changed CPUTYPE to i586 preparing for install on other machines
> (but using this machine as a build machine).
> 
> Build is ok but as soon as I am trying to install on a P54C-133MHz machine
> 
> I get the following error:
> --------------------------------------------------------------
> >>> Installing everything..
> --------------------------------------------------------------
....
> cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 cam/*.h  /usr/include/cam
> Illegal instruction - core dumped
> *** Error code 132
> 

this is the normal behaviour : you have compiled all of your utilities
to use i686-specific optimizations (CPUTYPE=i686), then try to use one
of these utilities (the newly built "install") on an i586 machine, which
lacks some of the i686-specific instruction codes.

I also recently did almost the same mistake, compiling an application on
a fast p-III, with i686 instruction codes, to see it dumping core when
run on a p5-200.

there are two solutions : 

- compile your world and kernel with only the i586 optimizations, and
then share the same binaries between the i686 and i586 machines or

- compile twice the world, once for i686 machines, and another time for
i586 machines

	TfH

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




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