Re: nfs: __setup_str_nfs_root_setup causes a section type conflict

Trond Myklebust <[email protected]> Mon, 03 Aug 2009 17:07:23 -0400
Newsgroups gmane.linux.nfs,gmane.linux.kernel,gmane.linux.ports.hppa
Message-ID <[email protected]>
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-nfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html