Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758421AbYHDBTn (ORCPT ); Sun, 3 Aug 2008 21:19:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753255AbYHDBTe (ORCPT ); Sun, 3 Aug 2008 21:19:34 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:57364 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752817AbYHDBTd (ORCPT ); Sun, 3 Aug 2008 21:19:33 -0400 Date: Sun, 03 Aug 2008 18:19:34 -0700 (PDT) Message-Id: <20080803.181934.262275514.davem@davemloft.net> To: a.beregalov@gmail.com Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: sparc64: build failure at sys_sparc32.c From: David Miller In-Reply-To: References: <20080729065914.GA30878@orion> <20080729.001256.203097603.davem@davemloft.net> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1799 Lines: 44 From: "Alexander Beregalov" Date: Tue, 29 Jul 2008 12:38:38 +0400 > 2008/7/29 David Miller : > > From: Alexander Beregalov > > Date: Tue, 29 Jul 2008 10:59:14 +0400 > > > >> I am testing build using randconfig. > >> > >> arch/sparc64/kernel/sys_sparc32.c: In function 'sys32_chown16': > >> arch/sparc64/kernel/sys_sparc32.c:63: error: implicit declaration of > >> function 'low2highuid' > >> arch/sparc64/kernel/sys_sparc32.c:63: error: implicit declaration of > >> function 'low2highgid' > >> arch/sparc64/kernel/sys_sparc32.c: In function 'sys32_getresuid16': > >> arch/sparc64/kernel/sys_sparc32.c:106: error: implicit declaration of > >> function 'high2lowuid' > >> arch/sparc64/kernel/sys_sparc32.c: In function 'sys32_getresgid16': > >> arch/sparc64/kernel/sys_sparc32.c:123: error: implicit declaration of > >> function 'high2lowgid' > >> > >> These functions are defined in linux/highuid.h only if CONFIG_UID16 is enabled. > > > > Thanks, what kernel version is this? > > It is current by default - .27-rc1. These files were not touched for a > long time. > But, OK, I will mention the kernel version every time. This is basically setup to fail. If SPARC64 && COMPAT this option should always be set. But it's left as an option the user can still disable in this case down in init/Kconfig. This can be triggered very likely on other platforms too. Can someone take a look at fixing this properly? Make it something that is selected on necessary platforms, for example. -- 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/