From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: linux-next: build warnings after merge of the kbuild-current tree Date: Wed, 06 Oct 2010 12:42:43 +0100 Message-ID: <1286365363.4281.5.camel@e102109-lin.cambridge.arm.com> References: <20101006114433.4fbe86ef.sfr@canb.auug.org.au> <4CAC59D4.5010505@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:33852 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752584Ab0JFLnD (ORCPT ); Wed, 6 Oct 2010 07:43:03 -0400 In-Reply-To: <4CAC59D4.5010505@suse.cz> Sender: linux-next-owner@vger.kernel.org List-ID: To: Michal Marek Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaud Lacombe On Wed, 2010-10-06 at 12:13 +0100, Michal Marek wrote: > On 6.10.2010 02:44, Stephen Rothwell wrote: > > After merging the kbuild-current tree, today's (and yesterday's) > > linux-next build (x86_64 allmodconfig and other builds as well) produced > > these warnings: > > > > warning: [...] selects I2C_ALGOBIT which has unmet direct dependencies (I2C && !I2C_HELPER_AUTO) > > [...] > > warning: [...] selects VIDEO_TVAUDIO which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C) > > > > After reverting commit ff5ff6060bf880aac233e68dd666cbe9e39ec620 > > ("kconfig: delay symbol direct dependency initialization") it produces no > > such warnings. > > I'm aware of them. I'm talking with Jean Delvare about fixing the I2C > warnings, see http://lkml.org/lkml/2010/10/5/83. The drivers/media/video > warnings will need the same care. I don't know if we manage to fix these > in time, so maybe the kconfig fix will have to way for 2.6.36.1. The kconfig commit ff5ff6060 fixes a bug with commit 246cf9c26 which was using some structures after they were freed. Because of the bug, it just happened that it wasn't showing these kconfig warnings. A worst thing is kbuild segfaulting or getting into an infinite loop (as reported/fixed by Arnaud). I think the above commit is still needed before 2.6.36 and maybe push a drivers/media/video warnings in 2.6.36.1. Thanks. -- Catalin