From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 04 May 2009 10:47:34 +0100 (BST) Received: from pfepa.post.tele.dk ([195.41.46.235]:38228 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by ftp.linux-mips.org with ESMTP id S20022025AbZEDJr2 (ORCPT ); Mon, 4 May 2009 10:47:28 +0100 Received: from ravnborg.org (x1-6-00-1e-2a-84-ae-3e.k225.webspeed.dk [80.163.61.94]) by pfepa.post.tele.dk (Postfix) with ESMTP id 99CF7A5008C; Mon, 4 May 2009 11:47:17 +0200 (CEST) Received: by ravnborg.org (Postfix, from userid 500) id 66656580D0; Mon, 4 May 2009 11:49:28 +0200 (CEST) Date: Mon, 4 May 2009 11:49:28 +0200 From: Sam Ravnborg To: Manuel Lauss Cc: Anders Kaseorg , LKML , Linux-MIPS Subject: Re: Lots of unexpected non-allocatable section warnings Message-ID: <20090504094928.GA6157@uranus.ravnborg.org> References: <20090503110517.6d09bca2@hyperion.delvare> <20090503103010.GA27978@uranus.ravnborg.org> <20090503124848.276b437f@hyperion.delvare> <20090503180332.GA31820@uranus.ravnborg.org> <20090503202939.GA1237@uranus.ravnborg.org> <20090504082816.GA25378@roarinelk.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090504082816.GA25378@roarinelk.homelinux.net> User-Agent: Mutt/1.4.2.1i Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 22606 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: sam@ravnborg.org Precedence: bulk X-list: linux-mips On Mon, May 04, 2009 at 10:28:16AM +0200, Manuel Lauss wrote: > Hi Sam, > > On Sun, May 03, 2009 at 10:29:39PM +0200, Sam Ravnborg wrote: > > This is due to the SUSE specific section as you expected. > > We ignore sections named ".comment" but not ".comment" sections > > with something appended to the name. > > > On a related note, I see tons of the following warnings cross-building for > MIPS: > > WARNING: init/mounts.o (.mdebug.abi32): unexpected non-allocatable section. > Did you forget to use "ax"/"aw" in a .S file? > Note that for example contains > section definitions for use in .S files. > > WARNING: init/mounts.o (.pdr): unexpected non-allocatable section. > Did you forget to use "ax"/"aw" in a .S file? > Note that for example contains > section definitions for use in .S files. > > > I added ".pdr" and ".mdebug*" to the whitelist; the resulting kernels still > work. (gcc-4.3.3, binutils-2.19.1) Hi Manuel - thanks for reporting! Is your mips target little or big endian? If it is a big-endian target (which I expect) then the right fix is the patch posted by Anders. In other words - what happens if you back out your change and apply the appended patch. Sam