Re: Strange warnings about .modinfo when compiling 2.2.18 on Alpha

From: Jesper Juhl (juhl@eisenstein.dk)
Date: Thu Dec 21 2000 - 06:07:09 EST


On Thu, 21 Dec 2000, Keith Owens wrote:

> The way .modinfo is created is a kludge to prevent the .modinfo section
> being loaded as part of the module. The initial reference to .modinfo
> creates it as non-allocated, later references try to allocate data in
> the section. Older versions of gcc silently ignored the mismatch,
> newer ones warn about the mismatch.
>
> modutils >= 2.3.19 makes sure that .modinfo is not loaded so the kernel
> kludge is no longer required. Alan Cox (quite rightly) will not force
> 2.2 users to upgrade modutils, but if you jump to modutils 2.3.23 and
> apply this patch against kernel 2.2.18 then the warnings will disappear.

Thank you very much for your reply. I'll try upgrading modutils and apply
the patch.

Best regards,
Jesper Juhl
juhl@eisenstein.dk

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



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:28 EST