From mboxrd@z Thu Jan 1 00:00:00 1970 From: michi1@michaelblizek.twilightparadox.com (michi1 at michaelblizek.twilightparadox.com) Date: Thu, 10 May 2012 07:36:34 +0200 Subject: linker error: section __modver vma 0x6028c000 overlaps previous In-Reply-To: References: <20120509044137.GA2208@grml> <20120509184941.GA2772@grml> Message-ID: <20120510053633.GA2209@grml> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi! On 11:53 Thu 10 May , Mulyadi Santosa wrote: > Hi again... :) > > On Thu, May 10, 2012 at 1:49 AM, > wrote: > > Hi! > > > > On 00:19 Thu 10 May ? ? , Mulyadi Santosa wrote: > >> Hi... > >> > >> On Wed, May 9, 2012 at 11:41 AM, > >> wrote: > >> > /usr/bin/ld: .tmp_vmlinux2: section __modver vma 0x6028c000 overlaps previous sections > >> > ?KSYM ? ?.tmp_kallsyms2.S > >> > ?AS ? ? ?.tmp_kallsyms2.o > >> > ?LD ? ? ?vmlinux > >> > /usr/bin/ld: vmlinux: section __modver vma 0x6028c000 overlaps previous sections > >> > ?SYSMAP ?System.map > >> > ?SYSMAP ?.tmp_System.map > >> > ?LINK linux > >> > >> modver.... hmmm, raw guess, what happen if you turn off module > >> versioning in kernel config? > > > > Module versioning was turned off. If I turn it on, the error disappears. > > Hm....not sure about you, but I find it weird. Me, too. > Anyway, are you sure you have done make mrproper or make clean before > building the kernel? Just to make sure it starts from clean state. make clean/mrproper does not change anything. > >> And, does this happen if you build standard (non UML) kernel? > > > > I do not have a non-uml config ready for this kernel. "make oldconfig" asks > > for almost every option which exists. > > What if you just use make defconfig....then tweaking it a bit here > and there using make menuconfig? That way, you don't have to answer > bunch of questions... just my 2 cents idea.... I just tried narrowing it down. Doing either allnoconfig or allyesconfig, then setting the loadable module setting and enabling by code means that the error is gone, too. I will try to find out what it is... -Michi