Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936617AbXFGFU3 (ORCPT ); Thu, 7 Jun 2007 01:20:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755910AbXFGFUU (ORCPT ); Thu, 7 Jun 2007 01:20:20 -0400 Received: from lemon.ertos.nicta.com.au ([203.143.174.143]:38230 "EHLO lemon.gelato.unsw.edu.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754372AbXFGFUS (ORCPT ); Thu, 7 Jun 2007 01:20:18 -0400 Date: Thu, 07 Jun 2007 15:00:22 +1000 Message-ID: <87wsyg2wbd.wl%peter@chubb.wattle.id.au> From: Peter Chubb To: Russ Anderson Cc: tony.luck@intel.com (Luck Tony), prarit@redhat.com (Prarit Bhargava), clameter@sgi.com (Christoph Lameter), randy.dunlap@oracle.com (Randy Dunlap), dgc@sgi.com (David Chinner), akpm@linux-foundation.org (Andrew Morton), linux-kernel@vger.kernel.org (lkml), linux-ia64@vger.kernel.org, sam@ravnborg.org (Sam Ravnborg) In-Reply-To: <200706051455.l55Etr1N96333810@clink.americas.sgi.com> References: <617E1C2C70743745A92448908E030B2A01961AFE@scsmsx411.amr.corp.intel.com> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 MULE XEmacs/21.4 (patch 20) (Double Solitaire) (x86_64-linux-gnu) X-Face: GgFg(Z>fx((4\32hvXq<)|jndSniCH~~$D)Ka:P@e@JR1P%Vr}EwUdfwf-4j\rUs#JR{'h# !]])6%Jh~b$VA|ALhnpPiHu[-x~@<"@Iv&|%R)Fq[[,(&Z'O)Q)xCqe1\M[F8#9l8~}#u$S$Rm`S9% \'T@`:&8>Sb*c5d'=eDYI&GF`+t[LfDH="MP5rwOO]w>ALi7'=QJHz&y&C&TE_3j! Organization: Chubb Family (Sydney) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 220.237.9.178 X-SA-Exim-Mail-From: peterc@gelato.unsw.edu.au Subject: Re: linux-ia64 build warning messages X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:39:27 +0000) X-SA-Exim-Scanned: Yes (on lemon.gelato.unsw.edu.au) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1640 Lines: 33 >>>>> "Russ" == Russ Anderson writes: Russ> Tony Luck wrote: >> > I used the sn2_defconfig in the tree :) >> >> So there is something odd happening. Russ complained that he was >> still seeing several errors from the sn2_defconfig build too when I >> posted the "last fix" to Len. But I don't see them when I build. Russ> An additional data point. I have a copy of Tony's test tree Russ> pulled down on March 30th that builds without the warning Russ> messages. The copy of Tony's test tree pulled down on May 22nd Russ> does have warning messages. I'm building both with the same Russ> compiler (etc). I'm fairly certain a tree I pulled down in Russ> April built without warnings. I've since blown away that tree. Change request 85bd2fddd68e757da8e1af98f857f61a3c9ce647 introduced section-mismatch checking for vmlinux, which caused all these warnings to become visible. It looks as if gcc can create references from .sdata to .init.sdata depending on what optimisations it chooses to do. Ideally we could teach gcc to put its constants in the same section they reference. But I'm no gcc guru. The alternative is to get modpost to ignore such references, at the cost of perhaps missing a real problem somewhere. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia - 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/