Re: 2.6.25 and DEBUG_SECTION_MISMATCH

Jacek Luczak
2008-04-16T19:26:01Z

Hi Adrian,

> Hi Sam,
>
> although DEBUG_SECTION_MISMATCH allows to also find exotig things like
> finding bugs only present when using gcc < 3.4 and CONFIG_HOTPLUG=n at
> the same time, the problem is that we print
> WARNING: modpost: Found 13 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> but CONFIG_DEBUG_SECTION_MISMATCH is not offered in 2.6.25.

Most of those ,,old mismatches'' where already fixed, so ...

> The options seem to be:
> - going back to the worse but for most practical purposes usable
> warnings in 2.6.24
> - don't show these warnings during modpost for 2.6.25

... IMO it would be better to not show modpost warnings. It will result in great
number of reports from users. Sam is here a boss.

There's also second part of the story around inline functions which may be
reported while running with CONFIG_DEBUG_SECTION_MISMATCH.

Greats,
Jacek