From owner-freebsd-stable Sat Jun 29 12:30:59 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 AC25537B400 for ; Sat, 29 Jun 2002 12:30:52 -0700 (PDT) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5674E43E06 for ; Sat, 29 Jun 2002 12:30:51 -0700 (PDT) (envelope-from ardelean@ww.uni-erlangen.de) Received: from localhost (ardelean@localhost) by servww6.ww.uni-erlangen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g5THapp18544 for ; Sat, 29 Jun 2002 19:36:51 +0200 Date: Sat, 29 Jun 2002 19:36:51 +0200 (CEST) From: Gheorghe Ardelean To: Subject: Problems installing STABLE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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; make -f Makefile.inc1 install ===> share/info ===> include ... if [ -h /usr/include/dev/wi ]; then rm -f /usr/include/dev/wi; fi if [ -h /usr/include/machine ]; then rm -f /usr/include/machine; fi mtree -deU -f /usr/src/include/../etc/mtree/BSD.include.dist -p /usr/include 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 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This seems to me that the new install (/usr/obj/usr/src/i386/usr/bin/install) is not compiled for i586 but for i686 (works on build machine). I've tested (on the i586 machine) other binaries compiled in this way and they work ok (e.g. the /tmp/install.*/* binaries). Before I started the new buildworld (for i586) I've done: make clean make cleandir chflags -R noschg * rm -rf * Looking in to my buildworld log I have found that install was compiled with correct flags: ... cd /usr/src/usr.bin/xinstall; make obj; make depend; make all; make DESTDIR=/usr/obj/usr/src/i386 install /usr/obj/usr/src/i386/usr/src/usr.bin/xinstall created for /usr/src/usr.bin/xinstall rm -f .depend mkdep -f .depend -a /usr/src/usr.bin/xinstall/xinstall.c /usr/src/usr.bin/xinstall/../../lib/libc/gen/strtofflags.c cd /usr/src/usr.bin/xinstall; make _EXTRADEPEND echo xinstall: /usr/lib/libc.a >> .depend cc -O -pipe -march=pentium -c /usr/src/usr.bin/xinstall/xinstall.c cc -O -pipe -march=pentium -c /usr/src/usr.bin/xinstall/../../lib/libc/gen/strtofflags.c cc -O -pipe -march=pentium -static -o xinstall xinstall.o strtofflags.o sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555 xinstall /usr/obj/usr/src/i386/usr/bin/install Did I missed something here? Regards, +-- Gheorghe ARDELEAN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message