From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Date: Fri, 16 Jan 2009 01:49:49 +0000 Subject: linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] Message-Id: <20090116124949.7828a559.sfr@canb.auug.org.au> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Signature=_Fri__16_Jan_2009_12_49_49_+1100_GJbIO4u/muZTDHew" List-Id: References: <20090115200315.EBE3.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20090115093514.f3f6b8ff.akpm@linux-foundation.org> In-Reply-To: <20090115093514.f3f6b8ff.akpm@linux-foundation.org> To: Andrew Morton Cc: linux-next@vger.kernel.org, Prarit Bhargava , David Howells , KOSAKI Motohiro , LKML , linux-ia64 , Sam Ravnborg , Kyle McMartin , Tony Luck , Trond Myklebust --Signature=_Fri__16_Jan_2009_12_49_49_+1100_GJbIO4u/muZTDHew Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Andrew, On Thu, 15 Jan 2009 09:35:14 -0800 Andrew Morton wrote: > > On Thu, 15 Jan 2009 20:05:08 +0900 (JST) KOSAKI Motohiro wrote: >=20 > > Applied after: linux-next.patch > > =3D=3D > > Subject: [PATCH] remove duplicate EXPORT_SYMBOL() > > Impact: fix build error > >=20 > > In past, ia64_ksyms.c had EXPORT_SYMBOL(copy_page) in wrong place. > >=20 > > old code was > >=20 > > #include > > EXPORT_SYMBOL(__copy_user); > > EXPORT_SYMBOL(__do_clear_user); > > EXPORT_SYMBOL(__strlen_user); > > EXPORT_SYMBOL(__strncpy_from_user); > > EXPORT_SYMBOL(__strnlen_user); > > EXPORT_SYMBOL(copy_page); > >=20 > > (but actually, copy_page is declared in asm/page.h) > >=20 > > And recently, commit bdc2619ab95d45d434c16d5c216bc6243761f6fb insert > > EXPORT_SYMBOL(copy_page) into correct place. > >=20 > > then, duplicate EXPORT_SYMBOL create following build error. > >=20 > > arch/ia64/kernel/ia64_ksyms.c:65: error: redefinition of '__kcrctab_cop= y_page' > > arch/ia64/kernel/ia64_ksyms.c:43: error: previous definition of '__kcrc= tab_copy_page' was here > > arch/ia64/kernel/ia64_ksyms.c:65: error: redefinition of '__kstrtab_cop= y_page' > > arch/ia64/kernel/ia64_ksyms.c:43: error: previous definition of '__kstr= tab_copy_page' was here > > arch/ia64/kernel/ia64_ksyms.c:65: error: redefinition of '__ksymtab_cop= y_page' > > arch/ia64/kernel/ia64_ksyms.c:43: error: previous definition of '__ksym= tab_copy_page' was here >=20 > Yes, this is a strange bug added by >=20 > commit 7aed50e09223e7623c7ab826efd53f097bed2f73 > Author: Prarit Bhargava > AuthorDate: Sat Jan 10 02:25:44 2009 +0000 > Commit: David Howells > CommitDate: Sat Jan 10 02:25:44 2009 +0000 >=20 > CacheFiles: Add missing copy_page export for ia64 >=20 > I don't see how it could have been tested :( >=20 > I also don't know which linux-next tree added that commit. There's a > way of working this out but I forgot it. In gitk you can search backwards for a merge commit containing "sfr" :-) I have dropped the nfs tree from linux-next for today. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Fri__16_Jan_2009_12_49_49_+1100_GJbIO4u/muZTDHew Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAklv570ACgkQjjKRsyhoI8y7RgCcDNfn1Mkh8oN6I2CpRpQnN6Nl YqsAnjp3YHIMibugJylbNr0T8xItUVz9 =D5Uy -----END PGP SIGNATURE----- --Signature=_Fri__16_Jan_2009_12_49_49_+1100_GJbIO4u/muZTDHew--