Subject: Re: kern/36287: can't load lkm exec_*_elf.o and exec_pecoff.o, conflicting symbol `emul_find_root'.
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Takehiko NOZAKI <th-nozaki@netwrk.co.jp>
List: netbsd-bugs
Date: 05/11/2007 15:55:01
The following reply was made to PR kern/36287; it has been noted by GNATS.

From: Takehiko NOZAKI <th-nozaki@netwrk.co.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/36287: can't load lkm exec_*_elf.o and exec_pecoff.o, conflicting symbol `emul_find_root'.
Date: Sat, 12 May 2007 00:52:12 +0900

 hi,
 
 >  The fix is to exclude the object file containing find_emul-root() from
 >  the LKMs.  I thought I'd done that.
 
 it seems that emul_find_root() is not excluded yet,
 lkm exec_*_elf.o and exec_pecoff.o still include compat_util.c.
 
 $ nm /usr/lkm/exec_freebsd_elf.o | grep emul_find_root
 000007bc T emul_find_root
 $ nm /usr/lkm/exec_linux_elf.o | grep emul_find_root
 00000388 T emul_find_root
 $ nm /usr/lkm/exec_svr4_elf.o | grep emul_find_root                           
 00000224 T emul_find_root
 $ nm /usr/lkm/exec_pecoff.o | grep emul_find_root                            
 00000b2c T emul_find_root
 
 very truly yours.
 --
 Takehiko NOZAKI <tnozaki@NetBSD.org>