LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* 2.6.24.3 ARCH=um FTBFS c/o undefined reference to `i386_mmap_check'
@ 2008-03-11  4:35 Scott Edwards
  2008-03-11 13:40 ` Jeff Dike
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Edwards @ 2008-03-11  4:35 UTC (permalink / raw)
  To: linux-kernel

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. 

Here's a partial log of the last lines before it fails. 

LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
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
SYSMAP System.map
nm: 'vmlinux': No such file
make: *** [vmlinux] Error 1
Script done, file is 
../uml.linux-2.6.24.3-scrub-08.3b7a66a4-1774-448b-8ac3-65cb88c18950.txt
supaplex@armada: uml.linux-2.6.24.3-scrub-08$ ls -A
arch drivers kernel Module.symvers sound
block fs lib net System.map
.config .gitignore localversion-grsec .old_version .tmp_versions
.config.old grsecurity .mailmap README usr
COPYING include MAINTAINERS REPORTING-BUGS .version
CREDITS init Makefile samples .vmlinux.cmd
crypto ipc .missing-syscalls.d scripts vmlinux.o
Documentation Kbuild mm security .vmlinux.o.cmd 

Thanks, 


Scott


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

* Re: 2.6.24.3 ARCH=um FTBFS c/o undefined reference to `i386_mmap_check'
  2008-03-11  4:35 2.6.24.3 ARCH=um FTBFS c/o undefined reference to `i386_mmap_check' Scott Edwards
@ 2008-03-11 13:40 ` Jeff Dike
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2008-03-11 13:40 UTC (permalink / raw)
  To: Scott Edwards; +Cc: linux-kernel

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

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

end of thread, other threads:[~2008-03-11 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11  4:35 2.6.24.3 ARCH=um FTBFS c/o undefined reference to `i386_mmap_check' Scott Edwards
2008-03-11 13:40 ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).