2.6.24.3 ARCH=um FTBFS c/o undefined reference to `i386_mmap_check'
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 vmlinuxmm/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
Quoted 11 lines · Scott Edwards
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 toi386_mmap_check' mm/built-in.o: In functiondo_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
Signature · 1 line
Work email - jdike at linux dot intel dot com