| I'm trying to build a LP64 mips kernel. There are few issues, including
I didn't know we supported LP64 on mips...
| 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?
You should verify that u_long really is 64-bits. This warning sounds
like it's trying to stuff 64-bits in a 32-bit u_long.
Eduardo