Subject: Re: Re: "overlaps section .rodata" on kernel build
To: Joel CARNAT <joel@carnat.net>
From: Andrey Petrov <petrov@netbsd.org>
List: port-sparc64
Date: 01/08/2005 12:37:12
On Sat, Jan 08, 2005 at 09:32:57PM +0100, Joel CARNAT wrote:
> On Sat, Jan 08 2005 - 12:24, Andrey Petrov wrote:
> > On Sat, Jan 08, 2005 at 08:03:05PM +0100, ptiJo wrote:
> > > 
> > > ld -n -T ../../../../arch/sparc64/conf/kern.ldscript -Ttext 01000000 -Tdata 01800000 -e start -S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> > > ld: section .data [0000000001800000 -> 0000000001827fcf] overlaps section .rodata [00000000016d7488 -> 0000000001821427]
> > > *** Error code 1
> > > 
> > 
> > Most likely lack of optimisation resulted in kernel too large to fit in
> > address space. Kernel has some limitations on how sections are located in
> > memory. 
> > 
> hum... does this mean I could try to comment things in the kernel conf to make
> it smaller ?
> 
Sure, you can comment out plenty, all unused device drivers and file-systems.

	Andrey