Subject: Re: new ldscript and Xen
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: port-i386
Date: 05/28/2006 01:42:02
On Sat, May 27, 2006 at 11:31:25PM +0200, Manuel Bouyer wrote:
> Hi,
> with the new i386 ldscript a Xen3 kernel fail to link:
> /local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/current/src/tooldir/bin/i386--netbsdelf-ld -T /local/pop1/bouyer/current/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> /local/pop1/bouyer/current/src/sys/arch/i386/conf/kern.ldscript:45 non constant expression for load base
> *** [netbsd] Error code 1
> 1 error
> 
> what do I need to add ?

I bet the
/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/current/src/tooldir/bin/i386--netbsdelf-ld
is out of date.

You need to update gnu/dist/binutils/ld and recompile your linker.

Pavel