lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110528090512.GA20543@rere.qmqm.pl>
Date:	Sat, 28 May 2011 11:05:12 +0200
From:	Michał Mirosław <mirq-linux@...e.qmqm.pl>
To:	James Bottomley <James.Bottomley@...senPartnership.com>
Cc:	netdev@...r.kernel.org, David Miller <davem@...emloft.net>
Subject: Re: Section conflict compile failures in net

On Fri, May 27, 2011 at 06:04:37PM -0500, James Bottomley wrote:
> On Fri, 2011-05-27 at 10:07 +0200, Michał Mirosław 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:
> > > 
> > >   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 conflict
> > > drivers/net/ne3210.c:85: error: shmem_map causes a section type conflict
> > > drivers/net/ne3210.c:89: error: ifmap_val causes a section type conflict
> > > 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 type conflict
> > > drivers/net/hp100.c:211: error: hp100_pci_tbl causes a section type conflict
> > > make[2]: *** [drivers/net/hp100.o] Error 1
> > > drivers/net/depca.c:544: error: de1xx_irq causes a section type conflict
> > > drivers/net/depca.c:545: error: de2xx_irq causes a section type conflict
> > > drivers/net/depca.c:546: error: de422_irq causes a section type conflict
> > [...]
> > 
> > Those three are only used in depca_hw_init() marked __devinit. What compiler
> > [flags] do you use to build this?
> 
> It's a standard debian one.
> 
> jejb@ion> hppa64-linux-gnu-gcc -v
> Using built-in specs.
> Target: hppa64-linux-gnu
> Configured with: ../src/configure --enable-languages=c --prefix=/usr
> --libexecdir=/usr/lib --disable-shared --disable-nls --disable-threads
> --disable-libffi --disable-libgomp --disable-libmudflap --disable-libssp
> --with-as=/usr/bin/hppa64-linux-gnu-as
> --with-ld=/usr/bin/hppa64-linux-gnu-ld
> --includedir=/usr/hppa64-linux-gnu/include --host=hppa-linux-gnu
> --build=hppa-linux-gnu --target=hppa64-linux-gnu
> Thread model: single
> gcc version 4.2.4 (Debian 4.2.4-6)
> 
> the problem is definitely the depca_irq[i] in the loop ... replace that
> with a constant and the error goes away.

Looks like arch-specific problem. Build test passes for x86 allyesconfig.

Best Regards,
Michał Mirosław
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ