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

From: Urban Widmark (urban@svenskatest.se)
Date: Wed May 03 2000 - 17:26:57 EST


On Wed, 3 May 2000, Jeff Garzik wrote:

> I wonder if "version[]" versus "*version" makes any difference?

const *version __devinitdata compiles, const version[] __devinitdata
doesn't (2.96-20000313 snapshot. It's so much easier when you can
reproduce the problem. :)

objdump --headers gives me for the two variants:

version[] __devinitdata:
                        size
        4 .rodata 00000abd
        5 .data.init 000000e4

*version __devinitdata:
                        size
        4 .rodata 00000b3d
        5 .data.init 0000007c
(with or without const makes no difference)

> The problem won't show up when compiling has CONFIG_HOTPLUG or when
> compiling as a module, so only non-hotplug static kernel builds will
> break compiles.

Ah, that's why I couldn't break the compile.

/Urban

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



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