From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758074Ab0JYXEj (ORCPT ); Mon, 25 Oct 2010 19:04:39 -0400 Received: from chilli.pcug.org.au ([203.10.76.44]:60304 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753586Ab0JYXEh (ORCPT ); Mon, 25 Oct 2010 19:04:37 -0400 Date: Tue, 26 Oct 2010 10:04:27 +1100 From: Stephen Rothwell To: Stephen Hemminger Cc: David Miller , netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, jchapman@katalix.com Subject: Section msimatch warnings (Was: Re: linux-next: build failure after merge of the final tree (net-current tree related)) Message-Id: <20101026100427.f7c30b3d.sfr@canb.auug.org.au> In-Reply-To: <20101025103636.442e108a@nehalam> References: <20101025141956.d8f0888f.sfr@canb.auug.org.au> <20101024.222602.71095343.davem@davemloft.net> <20101025103636.442e108a@nehalam> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__26_Oct_2010_10_04_27_+1100_ocQPwjvwqSt_9QNJ" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Signature=_Tue__26_Oct_2010_10_04_27_+1100_ocQPwjvwqSt_9QNJ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Stephen, On Mon, 25 Oct 2010 10:36:36 -0700 Stephen Hemminger wrote: > > The section mismatch warning on x86 is not shown by default > because there are still so many problems. This is actually different - it is generated by the compiler. I am not sure why we only get them on PowerPC. Rusty suggested that we could dynamically create a file that just referenced all the EXPORTed symbols (we know what they are) and try to link that. Then we would find all the static ones. PowerPC would still find them earlier, of course, but since a lot of poeple only compile for x86(_64), they may not get as far as the PowerPC builds. The other section mismatch warnings (generated by an external program) are certainly suppressed by default on all architectures. I enable them for some of my builds, and it is not too bad at the moment (apart from a couple of particular subsystems - and Sparc :-)). I suspect that if we reenabled them by default, they would be fixed fairly quickly. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Tue__26_Oct_2010_10_04_27_+1100_ocQPwjvwqSt_9QNJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJMxgz7AAoJEDMEi1NhKgbsrAoH/jGKzwgolS2lc5+OOP7R3KA8 MD4RzlWb4YSuSosVy5PAg1JrxjtF3isxgYBsQdjEQPQEbm+N4tk0oOm8Vx5KMBv2 bp0LMUEHdPoMoetCysRQP8GrbEP+ZTX0CF4z962HXUm329QCcf3kHwiF701NJ/up hLfrGpveMAAI7CSxTWgy9IJoUxUjoxGsFHzH6AxWitl2lQ8DAjpcYx0dl2WOHEiz R9gGXJMv7kt2P6vjdFPdJqkfV6paw81RLTRqLNeOsst0bay3rOBCrG1IQIjctG7P F8n1r7xJ8Fo6b4sYcCvS5V+nqSQ42TShxBzHFM1T1MKGp6pNBRDlwGFreNthL24= =lREn -----END PGP SIGNATURE----- --Signature=_Tue__26_Oct_2010_10_04_27_+1100_ocQPwjvwqSt_9QNJ--