Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751386AbVJXXym (ORCPT ); Mon, 24 Oct 2005 19:54:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751392AbVJXXym (ORCPT ); Mon, 24 Oct 2005 19:54:42 -0400 Received: from smtp.osdl.org ([65.172.181.4]:48601 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751386AbVJXXyl (ORCPT ); Mon, 24 Oct 2005 19:54:41 -0400 Date: Mon, 24 Oct 2005 16:54:52 -0700 From: Andrew Morton To: george@mvista.com Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org, robustmutexes@lists.osdl.org Subject: Re: [PATCH] 2.6.14-rc5 fails to build with out CONFIG_FUTEX Message-Id: <20051024165452.3a809632.akpm@osdl.org> In-Reply-To: <435D6F50.1000403@mvista.com> References: <435D6F50.1000403@mvista.com> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 16 George Anzinger wrote: > > Both kernel/exit.c and fs/dcache.c refer to functions in kernel/futex.c which is not built unless > CONFIG_FUTEX is true. This causes a build failure at link time: > LD vmlinux > kernel/built-in.o(.text+0xab58): In function `do_exit': > /usr/src/linux-2.6.14-rc/kernel/exit.c:851: undefined reference to `exit_futex' > fs/built-in.o(.text+0x1b2bf): In function `dput': > /usr/src/linux-2.6.14-rc/fs/dcache.c:165: undefined reference to `futex_free_robust_list' This problem is specific to the robust-futexes patch. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/