Re: 2.6.23-rc1-mm1

Greg KH
2007-07-26T00:04:46Z

On Wed, Jul 25, 2007 at 11:05:22PM +0200, Gabriel C wrote:
> Gabriel C wrote:
> > H. Peter Anvin wrote:
> >> Sam Ravnborg wrote:
> >>> On Wed, Jul 25, 2007 at 08:48:50PM +0200, Michal Piotrowski wrote:
> >>>> On 25/07/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> >>>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm1/
> >>>>>
> >>>>>
> >>>> Andi, this might be interesting for you
> >>>>
> >>>> make allmodconfig
> >>>> make
> >>>> [...]
> >>>> WARNING: Absolute relocations present
> >>>> Offset Info Type Sym.Value Sym.Name
> >>>> c02041b3 00705601 R_386_32 c0308aa8 _sdata
> >>> Who did spit out this warning. Can you please provide make V=1
> >>> where we see the lines preceeding the warning.
> >>>
> >>> And config please.
> >>>
> >> config: "make allmodconfig"
> >>
> >> System.map would be more interesting, especially what is at 0xc02041b3.
> >
> > I get here :
> >
> > WARNING: Absolute relocations present
> > Offset Info Type Sym.Value Sym.Name
> > c0202e73 00703601 R_386_32 c03071bc _sdata
> >
> > $ grep c03071bc System.map
> > c03071bc R __tracedata_end
> > c03071bc A _sdata
>
>
> Guessing is this patch ?
>
> gregkh-driver-warn-when-statically-allocated-kobjects-are-used.patch: __tracedata_end = .;
> gregkh-driver-warn-when-statically-allocated-kobjects-are-used.patch:+ _sdata = .; /* End of text section */

This patch is a horrible hack to try to see if kobjects are static and
not dynamically created.

Dave, any ideas what is happening here?

thanks,

greg k-h