From: =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= Subject: Re: Section conflict compile failures in net Date: Sat, 28 May 2011 11:05:12 +0200 Message-ID: <20110528090512.GA20543@rere.qmqm.pl> References: <1306445993.4048.58.camel@mulgrave.site> <20110527080728.GA2108@rere.qmqm.pl> <1306537477.12244.13.camel@mulgrave.site> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org, David Miller To: James Bottomley Return-path: Received: from rere.qmqm.pl ([89.167.52.164]:48372 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413Ab1E1JFO (ORCPT ); Sat, 28 May 2011 05:05:14 -0400 Content-Disposition: inline In-Reply-To: <1306537477.12244.13.camel@mulgrave.site> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, May 27, 2011 at 06:04:37PM -0500, James Bottomley wrote: > On Fri, 2011-05-27 at 10:07 +0200, Micha=B3 Miros=B3aw wrote: > > On Thu, May 26, 2011 at 04:39:53PM -0500, James Bottomley wrote: > > > I'm now getting a ton of errors like this in git head: > > >=20 > > > CC [M] drivers/net/3c59x.o > > > CC [M] drivers/net/hp100.o > > > CC [M] drivers/net/ne3210.o > > > CC [M] drivers/net/3c509.o > > > CC [M] drivers/net/depca.o > > > drivers/net/ne3210.c:83: error: irq_map causes a section type con= flict > > > drivers/net/ne3210.c:85: error: shmem_map causes a section type c= onflict > > > drivers/net/ne3210.c:89: error: ifmap_val causes a section type c= onflict > > > drivers/net/ne3210.c:319: error: ne3210_ids causes a section type= conflict > > > make[2]: *** [drivers/net/ne3210.o] Error 1 > > > make[2]: *** Waiting for unfinished jobs.... > > > drivers/net/hp100.c:198: error: hp100_eisa_tbl causes a section t= ype conflict > > > drivers/net/hp100.c:211: error: hp100_pci_tbl causes a section ty= pe conflict > > > make[2]: *** [drivers/net/hp100.o] Error 1 > > > drivers/net/depca.c:544: error: de1xx_irq causes a section type c= onflict > > > drivers/net/depca.c:545: error: de2xx_irq causes a section type c= onflict > > > drivers/net/depca.c:546: error: de422_irq causes a section type c= onflict > > [...] > >=20 > > Those three are only used in depca_hw_init() marked __devinit. What= compiler > > [flags] do you use to build this? >=20 > It's a standard debian one. >=20 > jejb@ion> hppa64-linux-gnu-gcc -v > Using built-in specs. > Target: hppa64-linux-gnu > Configured with: ../src/configure --enable-languages=3Dc --prefix=3D/= usr > --libexecdir=3D/usr/lib --disable-shared --disable-nls --disable-thre= ads > --disable-libffi --disable-libgomp --disable-libmudflap --disable-lib= ssp > --with-as=3D/usr/bin/hppa64-linux-gnu-as > --with-ld=3D/usr/bin/hppa64-linux-gnu-ld > --includedir=3D/usr/hppa64-linux-gnu/include --host=3Dhppa-linux-gnu > --build=3Dhppa-linux-gnu --target=3Dhppa64-linux-gnu > Thread model: single > gcc version 4.2.4 (Debian 4.2.4-6) >=20 > the problem is definitely the depca_irq[i] in the loop ... replace th= at > with a constant and the error goes away. Looks like arch-specific problem. Build test passes for x86 allyesconfi= g. Best Regards, Micha=B3 Miros=B3aw