From owner-freebsd-stable Sat Jun 29 13:47:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB12A37B405 for ; Sat, 29 Jun 2002 13:47:25 -0700 (PDT) Received: from herbelot.dyndns.org (d108.dhcp212-198-26.noos.fr [212.198.26.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F91F43E13 for ; Sat, 29 Jun 2002 13:47:24 -0700 (PDT) (envelope-from thierry@herbelot.com) Received: from herbelot.com (tulipe.herbelot.nom [192.168.1.5]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id WAA14641; Sat, 29 Jun 2002 22:47:20 +0200 (CEST) (envelope-from thierry@herbelot.com) Message-ID: <3D1E1CD7.B88F6A44@herbelot.com> Date: Sat, 29 Jun 2002 22:47:19 +0200 From: Thierry Herbelot X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Gheorghe Ardelean Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Problems installing STABLE References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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