[parisc-linux] Warnings compiling the CVS kernel

Alan Modra alan@linuxcare.com.au
Wed, 21 Feb 2001 18:44:58 +1100 (EST)


On Wed, 21 Feb 2001, Rafael E. Herrera wrote:

> After building the cross-compiler in an x86 machine, I get warning
> message like this one for most of the sources when compiling the kernel:
> 
> /usr1/users/raffo/parisk/source/linux/include/linux/string.h:27:
> warning: conflicting types for built-in function `strncpy'

These are a result of the string functions being declared in the
kernel header file to take an "unsigned long" length arg (via
__kernel_size_t)

> The compilation succeeds but the boot will crash here:
> 
> [...]
> POSIX conformance testing by UNIFIX

Yeah, same result here (except I get a reboot).  I'm not sure yet whether
this is due to bugs in gcc or the kernel.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.