From owner-freebsd-stable@FreeBSD.ORG Wed Nov 16 00:29:47 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF5001065674 for ; Wed, 16 Nov 2011 00:29:47 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from glenbarber.us (onyx.glenbarber.us [199.48.134.227]) by mx1.freebsd.org (Postfix) with SMTP id A35AB8FC0A for ; Wed, 16 Nov 2011 00:29:47 +0000 (UTC) Received: (qmail 51270 invoked by uid 0); 15 Nov 2011 19:29:46 -0500 Received: from unknown (HELO glenbarber.us) (76.124.49.145) by 0 with SMTP; 15 Nov 2011 19:29:46 -0500 Date: Tue, 15 Nov 2011 19:29:44 -0500 From: Glen Barber To: Chuck Tuffli Message-ID: <20111116002944.GC24626@glenbarber.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Possible to build 9-stable kernel on 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2011 00:29:48 -0000 Hi, On Tue, Nov 15, 2011 at 11:45:02AM -0800, Chuck Tuffli wrote: > Is it possible to do a buildkernel of 9-stable (r227536) on a stock > 8.2 system? Most of it seems to work, but the linker fails towards the > end with > > ... > MAKE=make sh /usr/home/ctuffli/dev/releng_9/src/sys/conf/newvers.sh GENERIC > /usr/local/bin/svnversion > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g > -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs > -fdiagnostics-show-option -nostdinc -I. > -I/usr/home/ctuffli/dev/releng_9/src/sys > -I/usr/home/ctuffli/dev/releng_9/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-omit-frame-pointer -mno-sse > -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -Werror vers.c > linking kernel.debug > ld:/usr/home/ctuffli/dev/releng_9/src/sys/conf/ldscript.amd64:9: syntax error > *** Error code 1 > > Stop in /usr/home/ctuffli/dev/releng_9/obj/usr/home/ctuffli/dev/releng_9/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/home/ctuffli/dev/releng_9/src. > *** Error code 1 > > Stop in /usr/home/ctuffli/dev/releng_9/src. You'll need to do 'buildworld' first. Regards, Glen -- Glen Barber