Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 01:09:15 -0800 (PST)
From:      Kris Kennaway <kris@hub.freebsd.org>
To:        current@freebsd.org
Subject:   3.4 -> 4.0 upgrade problems
Message-ID:  <Pine.BSF.4.21.0003070102530.20636-100000@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Okay, I did some testing on my new scratch box by first installing 3.4
from the CD and then attempting a source upgrade to 4.0: buildworld
completed fine, but following the directions in UPDATING was not enough to
get the kernel built.

1) genassym and config were complaining about not being able to find
libc.so.4 when I installed them. Workaround: go back and rebuild with with
CFLAGS="-static"

2) When trying to build a GENERIC kernel, the build died with:

cc -c -x assembler-with-cpp -DLOCORE -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include opt_global.h -elf  ../../i386/i386/locore.s
/var/tmp/ccZ79966.s: Assembler messages:
/var/tmp/ccZ79966.s:2399: Error: operands given don't match any known 386 instruction
/var/tmp/ccZ79966.s:2400: Error: operands given don't match any known 386 instruction
/var/tmp/ccZ79966.s:2416: Error: operands given don't match any known 386 instruction
/var/tmp/ccZ79966.s:2417: Error: operands given don't match any known 386 instruction
/var/tmp/ccZ79966.s:2422: Error: operands given don't match any known 386 instruction
/var/tmp/ccZ79966.s:2427: Error: operands given don't match any known 386 instruction
/var/tmp/ccZ79966.s:2432: Error: operands given don't match any known 386 instruction
/var/tmp/ccZ79966.s:2437: Error: operands given don't match any known 386 instruction
*** Error code 1

Stop.

Solution: 'make buildkernel' in /usr/src seemed to do the trick.

3) The upgrade steps don't mention mergemastering /etc

Kris

----
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>



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




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