Re: nfs: __setup_str_nfs_root_setup causes a section type conflict

From: Trond Myklebust
Date: Mon Aug 03 2009 - 17:07:38 EST


On Mon, 2009-08-03 at 22:57 +0200, Frans Pop wrote:
> $ make init/do_mounts.o
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-parisc
> CALL scripts/checksyscalls.sh
> CC init/do_mounts.o
>
> while:
>
> $ make fs/nfs/nfsroot.o
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-parisc
> CALL scripts/checksyscalls.sh
> CC fs/nfs/nfsroot.o
> fs/nfs/nfsroot.c:403: error: __setup_str_nfs_root_setup causes a section type
> conflict

To me that looks like some kind of compiler bug. There appears to be
nothing incorrect about the c code generated by the preprocessor.

Just out of interest, could you do

'make fs/nfs/nfsroot.s'

and send us the resulting file?

Cheers
Trond

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/