Re: [2.3.99-pre7-3] via-rhine section type conflict

From: Urban Widmark (
Date: Wed May 03 2000 - 13:34:08 EST

On Wed, 3 May 2000 wrote:

> While compiling 2.3.99-pre7-3
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
> -march=i686 -c -o via-rhine.o via-rhine.c
> via-rhine.c:290: via_rhine_pci_tbl causes a section type conflict
> make[4]: *** [via-rhine.o] Error 1
> I found some messages related to a VIA's ACPI support on the gcc list

I don't think this is specific for this particular driver. The table in
question is exported via the MODULE_DEVICE_TABLE macro and is referenced
by a 'struct pci_driver'. Nothing else, and that is common for a few

If you try compiling (for example) the eepro100 driver do you get the same

> Debian 2.2 unstable
> gcc 2.95.2-9 (Post-2.95.2 CVS updates of the gcc-2_95-branch until 20000313)

Hmm, is that the same as the egcs 20000313 snapshot? I can't make it
happen with that compiler. If you use a stable compiler version, can you
still see problems? (gcc-2.95.2, egcs-1.1.2, gcc


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:12 EST