Re: [PATCH 1/2] parisc: beautify vmlinux.lds

Kyle McMartin <[email protected]> Thu, 11 Oct 2007 15:56:18 -0400
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On Thu, Oct 11, 2007 at 09:39:23PM +0200, Sam Ravnborg wrote:
> /home/sam/kernel/linux-2.6.git/include/linux/string.h:27: warning: conflicting types for built-in function 'strncpy'
> /home/sam/kernel/linux-2.6.git/include/linux/string.h:36: warning: conflicting types for built-in function 'strncat'
> /home/sam/kernel/linux-2.6.git/include/linux/string.h:45: warning: conflicting types for built-in function 'strncmp'
> /home/sam/kernel/linux-2.6.git/include/linux/string.h:70: warning: conflicting types for built-in function 'strlen'
> /home/sam/kernel/linux-2.6.git/include/linux/string.h:82: warning: conflicting types for built-in function 'strspn'
> /home/sam/kernel/linux-2.6.git/include/linux/string.h:85: warning: conflicting types for built-in function 'strcspn'
> /home/sam/kernel/linux-2.6.git/include/linux/string.h:95: warning: conflicting types for built-in function 'memmove'
> /home/sam/kernel/linux-2.6.git/include/linux/string.h:101: warning: conflicting types for built-in function 'memcmp'
> 

Fixed. Sigh, looks like we really do need a bit more TLC.

> And later this:
>   LD      arch/parisc/kernel/built-in.o
> hppa64-hp-linux-ld: Relocatable linking with relocations from format elf64-hppa-linux (arch/parisc/kernel/syscall.o) to format elf64-hppa-linux (arch/parisc/kernel/built-in.o) is not supported
> 

This is weird...

> 
> It is with a defconfig kernel on latest linus.
> Suspecting a toolchain issue but cannot point finger at what it is.
> 

I'll fix defconfig.

Cheers,
	Kyle