Subject: Re: Re: Re: 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/09/2005 12:00:11
On Sun, Jan 09, 2005 at 11:32:31AM +0100, Joel CARNAT wrote:
> # size /netbsd /onetbsd
> text data bss dec hex filename
> 5290904 119896 591880 6002680 5b97f8 /netbsd
> 5017811 163728 628752 5810291 58a873 /onetbsd
>
> what I meant was : If there is one code line per device driver, the more devices you define
> in your kernel, the more code lines it will contain. the kernel would be bigger (or smaller) then.
> the only exception I could see was if the devices were build "outside" the kernel - like /lib/modules/* in linux.
>
> what surprised me is that, on i386, when you comment the devices, the kernel does end smaller.
> but maybe this is due to the big number of devices commented compared to the sparc64 arch.
>
That's very strange. I suggest to retry with original compiler settings.
Andrey