From owner-freebsd-current Tue Mar 7 1: 9:18 2000 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id DA92637BE74; Tue, 7 Mar 2000 01:09:15 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id D82422E815A for ; Tue, 7 Mar 2000 01:09:15 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Tue, 7 Mar 2000 01:09:15 -0800 (PST) From: Kris Kennaway To: current@freebsd.org Subject: 3.4 -> 4.0 upgrade problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message