Re: 2.6.24.3 ARCH=um FTBFS c/o undefined reference to`i386_mmap_check'

From: Jeff Dike
Date: Tue Mar 11 2008 - 09:41:22 EST


On Mon, Mar 10, 2008 at 11:35:16PM -0500, Scott Edwards wrote:
> I'm attempting to build a user mode linux kernel with some grsec features
> (no PaX, apparently incompatible) I'm using 2.6.24.3 and
> grsecurity-2.1.11-2.6.24.3-200803031942.patch.gz This is built on a Debian
> Etch host. I have compiled linux-2.6.25-rc3-mm1 which also seems to run
> without complaint.

> mm/built-in.o: In function `do_mmap_pgoff':
> (.text+0xe35d): undefined reference to `i386_mmap_check'
> mm/built-in.o: In function `do_brk':
> (.text+0xf3be): undefined reference to `i386_mmap_check'
> collect2: ld returned 1 exit status

Looks like there's some arch-specific stuff in one of your patches and
it's not there for UML.

Jeff

--
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/