LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* 2.6.18-rc6-mm1 'uio_read' redefined, breaks allyesconfig on i386
@ 2006-09-11 22:45 Judith Lebzelter
  2006-09-11 22:53 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Judith Lebzelter @ 2006-09-11 22:45 UTC (permalink / raw)
  To: tglx; +Cc: linux-kernel, akpm

Hello, 

I noticed in the 'allyesconfig' build for i386 is not working for 2.6.18-rc6-mm1.
The function 'uio_read' in gregkh-driver-uio.patch has the same name as a 
function in fs/xfs/support/move.c.  Here is the error message:

  LD      drivers/w1/built-in.o
  LD      drivers/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x6eb597): In function `uio_read':
drivers/uio/uio_dev.c:59: multiple definition of `uio_read'
fs/built-in.o(.text+0x2f4ee8):fs/xfs/support/move.c:26: first defined here
i686-unknown-linux-gnu-ld: Warning: size of symbol `uio_read' changed from 123 in fs/built-in.o to 397 in drivers/built-in.o
make: [.tmp_vmlinux1] Error 1 (ignored)
  KSYM    .tmp_kallsyms1.S
i686-unknown-linux-gnu-nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: [.tmp_kallsyms1.S] Error 1 (ignored)

WKR,
Judith Lebzelter
OSDL

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.18-rc6-mm1 'uio_read' redefined, breaks allyesconfig on i386
  2006-09-11 22:45 2.6.18-rc6-mm1 'uio_read' redefined, breaks allyesconfig on i386 Judith Lebzelter
@ 2006-09-11 22:53 ` Andrew Morton
  2006-09-11 23:28   ` Judith Lebzelter
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2006-09-11 22:53 UTC (permalink / raw)
  To: Judith Lebzelter; +Cc: tglx, linux-kernel, Greg KH, linux-xfs

On Mon, 11 Sep 2006 15:45:20 -0700
Judith Lebzelter <judith@osdl.org> wrote:

> Hello, 
> 
> I noticed in the 'allyesconfig' build for i386 is not working for 2.6.18-rc6-mm1.
> The function 'uio_read' in gregkh-driver-uio.patch has the same name as a 
> function in fs/xfs/support/move.c.  Here is the error message:
> 
>   LD      drivers/w1/built-in.o
>   LD      drivers/built-in.o
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> drivers/built-in.o(.text+0x6eb597): In function `uio_read':
> drivers/uio/uio_dev.c:59: multiple definition of `uio_read'
> fs/built-in.o(.text+0x2f4ee8):fs/xfs/support/move.c:26: first defined here
> i686-unknown-linux-gnu-ld: Warning: size of symbol `uio_read' changed from 123 in fs/built-in.o to 397 in drivers/built-in.o
> make: [.tmp_vmlinux1] Error 1 (ignored)
>   KSYM    .tmp_kallsyms1.S
> i686-unknown-linux-gnu-nm: '.tmp_vmlinux1': No such file
> No valid symbol.
> make: [.tmp_kallsyms1.S] Error 1 (ignored)
> 

Thanks.   I'd suggest that XFS is being poorly behaved here.  "uio_read" isn't
an appropriately named symbol for a filesystem to be exposing.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.18-rc6-mm1 'uio_read' redefined, breaks allyesconfig on i386
  2006-09-11 22:53 ` Andrew Morton
@ 2006-09-11 23:28   ` Judith Lebzelter
  0 siblings, 0 replies; 3+ messages in thread
From: Judith Lebzelter @ 2006-09-11 23:28 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Judith Lebzelter, tglx, linux-kernel, Greg KH, linux-xfs

On Mon, Sep 11, 2006 at 03:53:11PM -0700, Andrew Morton wrote:
> On Mon, 11 Sep 2006 15:45:20 -0700
> Judith Lebzelter <judith@osdl.org> wrote:
> > I noticed in the 'allyesconfig' build for i386 is not working for 2.6.18-rc6-mm1.
> > The function 'uio_read' in gregkh-driver-uio.patch has the same name as a 
> > function in fs/xfs/support/move.c.  Here is the error message:
> > 
> >   LD      init/built-in.o
> >   LD      .tmp_vmlinux1
> > drivers/built-in.o(.text+0x6eb597): In function `uio_read':
> > drivers/uio/uio_dev.c:59: multiple definition of `uio_read'
> > fs/built-in.o(.text+0x2f4ee8):fs/xfs/support/move.c:26: first defined here
> > i686-unknown-linux-gnu-ld: Warning: size of symbol `uio_read' changed from 123 in fs/built-in.o to 397 in drivers/built-in.o
> > make: [.tmp_vmlinux1] Error 1 (ignored)
> >   KSYM    .tmp_kallsyms1.S
> > i686-unknown-linux-gnu-nm: '.tmp_vmlinux1': No such file
> > No valid symbol.
> > make: [.tmp_kallsyms1.S] Error 1 (ignored)
> > 
> 
> Thanks.   I'd suggest that XFS is being poorly behaved here.  "uio_read" isn't
> an appropriately named symbol for a filesystem to be exposing.

Great.  This is showing up on other platforms as well in PLM (OSDL's cross-compile 
build farm), so it will be good to see it fixed.:~)  

Judith


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-11 23:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-11 22:45 2.6.18-rc6-mm1 'uio_read' redefined, breaks allyesconfig on i386 Judith Lebzelter
2006-09-11 22:53 ` Andrew Morton
2006-09-11 23:28   ` Judith Lebzelter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).