On Mon, Jun 05, 2006 at 10:06:47PM -0400, oliver gould
wrote:
> Hello.
>
> I'm having trouble compiling a kernel with -current,
with the following
> error during the linking stage:
>
> ===> build.sh command: ./build.sh -u -U -O obj/ -T
> obj/tooldir.NetBSD-3.99.17-i386/ kernel=ENCANTA
> ===> build.sh started: Mon Jun 5 21:57:33 EDT
2006
> ===> MACHINE: i386
> ===> MACHINE_ARCH: i386
> ===> TOOLDIR path:
/usr/src/obj/tooldir.NetBSD-3.99.17-i386
> ===> DESTDIR path: /usr/src/obj/destdir.i386
> ===> RELEASEDIR path: /usr/src/obj/releasedir
> ===> makewrapper:
>
/usr/src/obj/tooldir.NetBSD-3.99.17-i386/bin/nbmake-i386
> ===> Updated
/usr/src/obj/tooldir.NetBSD-3.99.17-i386/bin/nbmake-i386
> ===> Building kernel without building new tools
> ===> Building kernel: ENCANTA
> ===> Build directory:
/usr/src/obj/sys/arch/i386/compile/ENCANTA
> [...]
> # link ENCANTA/netbsd
>
/usr/src/obj/tooldir.NetBSD-3.99.17-i386/bin/i386--netbsdelf
-ld -T
> /usr/src/sys/arch/i386/conf/kern.ldscript -Ttext
c0100000 -e start -X
> -o netbsd $ $ vers.o
> /usr/src/sys/arch/i386/conf/kern.ldscript:45 non
constant expression
> for load base
>
> Note:
> $ wc -l /usr/src/sys/arch/i386/conf/kern.ldscript
> 44 /usr/src/sys/arch/i386/conf/kern.ldscript
>
> Has anyone else seen this or know what exactly is going
on?
Update the toolchain beforewards.
--
Quentin Garnier - cube cubidou.net - cube NetBSD.org
"When I find the controls, I'll go where I like,
I'll know where I want
to be, but maybe for now I'll stay right here on a silent
sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
|