mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.5+BK compile error: binfmt_elf on sparc64
@ 2004-04-14  8:33 Meelis Roos
  2004-04-14 18:53 ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Meelis Roos @ 2004-04-14  8:33 UTC (permalink / raw)
  To: Linux Kernel list

Because of -Werror, it bails out:

In file included from arch/sparc64/kernel/binfmt_elf32.c:154:
fs/binfmt_elf.c: In function `load_elf_interp':
fs/binfmt_elf.c:369: warning: comparison is always false due to limited range of data type
fs/binfmt_elf.c: In function `load_elf_binary':
fs/binfmt_elf.c:780: warning: comparison is always false due to limited range of data type

It's the comparision "elf_ppnt->p_memsz > TASK_SIZE".

p_memsz is Elf32_Word, TASK_SIZE is defined as
#define TASK_SIZE       ((unsigned long)-VPTE_SIZE)

At the first glance I can't see what's wrong here.

-- 
Meelis Roos (mroos@linux.ee)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-17  3:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-14  8:33 2.6.5+BK compile error: binfmt_elf on sparc64 Meelis Roos
2004-04-14 18:53 ` David S. Miller
2004-04-17  3:29   ` Herbert Poetzl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®