From: OGAWA Hirofumi Subject: Re: [PATCH] Fix build failure when CONFIG_NLS is set to 'm' by allmodconfig Date: Tue, 29 Mar 2011 10:55:27 +0900 Message-ID: <87oc4u4rn4.fsf@devron.myhome.or.jp> References: <20110223131536.GA16707@fedora14-r610.blr.amer.dell.com> <20110223131734.GA6275@srcf.ucam.org> <20110304101509.7eef7475@jbarnes-desktop> <20110328080220.1390d28e.randy.dunlap@oracle.com> <4D90EDE8.9070306@oracle.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <4D90EDE8.9070306@oracle.com> (Randy Dunlap's message of "Mon, 28 Mar 2011 13:22:00 -0700") Sender: linux-kernel-owner@vger.kernel.org To: Randy Dunlap Cc: Shyam_Iyer@Dell.com, jbarnes@virtuousgeek.org, mjg59@srcf.ucam.org, Narendra_K@Dell.com, viro@zeniv.linux.org.uk, sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, Matt_Domsch@Dell.com, Charles_Rose@Dell.com, Jordan_Hargrave@Dell.com List-Id: linux-next.vger.kernel.org Randy Dunlap writes: >> I don't get this.. you should not be getting CONFIG_NLS=m unless you >> have stripped you config files really.. :-) Is it possible to get >> your .config to hit this issue. > > I haven't stripped any config files -- but they are randconfig files. > Two (2) config files that cause build failures are attached. config PCI_IOAPIC bool depends on PCI depends on ACPI depends on HOTPLUG default y select NLS if (DMI || ACPI) I guess this is simply wrong. It will be parsed as config PCI_IOAPIC bool depends on PCI depends on ACPI depends on HOTPLUG default y select NLS if (DMI || ACPI) How about something like the following? config PCI_LABEL bool select NLS depends on (DMI || ACPI) -- OGAWA Hirofumi