Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 19:36:51 +0200 (CEST)
From:      Gheorghe Ardelean <ardelean@ww.uni-erlangen.de>
To:        <freebsd-stable@freebsd.org>
Subject:   Problems installing STABLE
Message-ID:  <Pine.LNX.4.33.0206291915190.18460-100000@servww6.ww.uni-erlangen.de>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0206291915190.18460-100000>