Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932826Ab0HDM7N (ORCPT ); Wed, 4 Aug 2010 08:59:13 -0400 Received: from mail-out1.uio.no ([129.240.10.57]:35483 "EHLO mail-out1.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932455Ab0HDM7L (ORCPT ); Wed, 4 Aug 2010 08:59:11 -0400 Subject: Re: linux-next: build failure after merge of the final tree (nfs tree related) From: Trond Myklebust To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20100804145406.f0fc5ea4.sfr@canb.auug.org.au> References: <20100804145406.f0fc5ea4.sfr@canb.auug.org.au> Content-Type: text/plain; charset="UTF-8" Date: Wed, 04 Aug 2010 08:58:56 -0400 Message-ID: <1280926736.3011.24.camel@heimdal.trondhjem.org> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 (2.30.2-4.fc13) Content-Transfer-Encoding: 7bit X-UiO-Ratelimit-Test: rcpts/h 3 msgs/h 1 sum rcpts/h 8 sum msgs/h 2 total rcpts 802 max rcpts/h 20 ratelimit 0 X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 3EB03AAF1A6C9D89467176E3F59A4BF53DF68108 X-UiO-SPAM-Test: remote_host: 68.40.206.115 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 310 max/h 6 blacklist 0 greylist 0 ratelimit 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1345 Lines: 36 On Wed, 2010-08-04 at 14:54 +1000, Stephen Rothwell wrote: > Hi Trond, > > After merging the final tree, today's linux-next build (sparc > defconfig) failed like this: > > `rpc_destroy_authunix' referenced in section `.init.text' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o > > Caused by commit 4c09a3aef02ef9bfab8322fadde269290563ede2 ("NFS: Ensure > the AUTH_UNIX credcache is allocated dynamically"). > > It also caused these warnings: > > WARNING: vmlinux.o(.init.text+0x1e3b4): Section mismatch in reference from the f > unction rpcauth_init_module() to the function .exit.text:rpc_destroy_authunix() > The function __init rpcauth_init_module() references > a function __exit rpc_destroy_authunix(). > This is often seen when error handling in the init function > uses functionality in the exit path. > The fix is often to remove the __exit annotation of > rpc_destroy_authunix() so it may be used outside an exit section. > > I applied the following patch for today: Hi Stephen, Thanks! I've fixed this up in the NFS linux-next tree. Cheers Trond -- 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/