Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2011 19:29:44 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        Chuck Tuffli <ctuffli@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Possible to build 9-stable kernel on 8.2?
Message-ID:  <20111116002944.GC24626@glenbarber.us>
In-Reply-To: <CAKAYmMLoc5GmwjHMMkfhF06CWWoP1HNMb%2BRmL9Q9ij5xCSmxag@mail.gmail.com>
References:  <CAKAYmMLoc5GmwjHMMkfhF06CWWoP1HNMb%2BRmL9Q9ij5xCSmxag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111116002944.GC24626>