2.6.17-mm1: UML failing w/o SKAS enabled
- From: Theodore Tso <tytso@xxxxxxx>
- Date: Thu, 22 Jun 2006 17:34:43 -0400
When I tried compiling 2.6.17-mm1 without SKAS support, it failed to
link:
arch/um/sys-i386/built-in.o: In function `__setup_host_supports_tls':tls.c:(.init.text+0x14): undefined reference to `check_host_supports_tls'
collect2: ld returned 1 exit status
This can fixed be addressed with the attached patch, but it the
resulting kernel still doesn't boot:
<tytso@candygram> {/usr/projects/uml/linux-2.6.17-mm1}
35% ./linux
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...OK
UML running in TT mode
tracing thread pid = 25812
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
<tytso@candygram> {/usr/projects/uml/linux-2.6.17-mm1}
36%
If anyone has any suggestions, I'd appreciate them.
- Ted
Index: linux-2.6.17-mm1/arch/um/os-Linux/sys-i386/Makefile
===================================================================
--- linux-2.6.17-mm1.orig/arch/um/os-Linux/sys-i386/Makefile 2006-06-17 21:49:35.000000000 -0400
+++ linux-2.6.17-mm1/arch/um/os-Linux/sys-i386/Makefile 2006-06-22 17:28:59.000000000 -0400
@@ -3,7 +3,8 @@
# Licensed under the GPL
#
-obj-$(CONFIG_MODE_SKAS) = registers.o tls.o
+obj-$(CONFIG_MODE_SKAS) = registers.o
+obj-y = tls.o
USER_OBJS := $(obj-y)
- Follow-Ups:
- Re: 2.6.17-mm1: UML failing w/o SKAS enabled
- From: Jeff Dike
- Re: 2.6.17-mm1: UML failing w/o SKAS enabled
- From: Andrew Morton
- Re: 2.6.17-mm1: UML failing w/o SKAS enabled
- References:
- 2.6.17-mm1
- From: Andrew Morton
- 2.6.17-mm1
- Prev by Date: [PATCH 3/4] Use SLAB_DESTROY_BY_RCU
- Next by Date: Re: Is the x86-64 kernel size limit real?
- Previous by thread: Re: 2.6.17-mm1: kernel/lockdep.c: write-only variables
- Next by thread: Re: 2.6.17-mm1: UML failing w/o SKAS enabled
- Index(es):