Subject: LP64 build problem
To: None <tech-kern@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 01/09/2002 00:11:02
Hello

I'm trying to build a LP64 mips kernel. There are few issues, including
a warning when buidling sys/kern/exec_elf64.c
Each occurence of ELFDEFNNAME(NO_ADDR) causes a warning: large integer
implicitely truncated to unsigned type.

ELFDEFNNAME(NO_ADDR) is defined as ELF64_NO_ADDR 
ELF64_NO_ADDR is defined as (~(Elf64_Addr)0) 
And this turns into (uint64_t)-1

The warning is raised when moving this to a u_long. Anyone has an idea
about how to fix this?

-- 
Emmanuel Dreyfus.
Sryvpvgngvbaf!
Ibhf irarm qr creqer ibger grzcf n qrpbqre har fvtangher fnaf vagrerg.
manu@netbsd.org