linux-mips
[Top] [All Lists]

RE: Is this a toolchain bug?

To: "Tommy S. Christensen" <tommy.christensen@eicon.com>
Subject: RE: Is this a toolchain bug?
From: "Matthew Dharm" <mdharm@momenco.com>
Date: Tue, 26 Feb 2002 12:29:53 -0800
Cc: "Kevin Paul Herbert" <kph@ayrnetworks.com>, "Linux-MIPS" <linux-mips@oss.sgi.com>
Importance: Normal
In-reply-to: <3C7B63E7.8DFF9D89@eicon.com>
Sender: owner-linux-mips@oss.sgi.com
Either insmod or depmod should complain if it can detect a scenario
like this.

Matt

--
Matthew D. Dharm                            Senior Software Designer
Momentum Computer Inc.                      1815 Aston Ave.  Suite 107
(760) 431-8663 X-115                        Carlsbad, CA 92008-7310
Momentum Works For You                      www.momenco.com

> -----Original Message-----
> From: owner-linux-mips@oss.sgi.com
> [mailto:owner-linux-mips@oss.sgi.com]On Behalf Of Tommy S.
> Christensen
> Sent: Tuesday, February 26, 2002 2:31 AM
> To: Matthew Dharm
> Cc: Kevin Paul Herbert; Linux-MIPS
> Subject: Re: Is this a toolchain bug?
>
>
> Matthew Dharm wrote:
> >
> > So, we've got a problem somewhere in the module handling.
>  Either the
> > symbol wasn't being relocated properly, or it wasn't
> being allocated
> > properly, or something.  I'm not an expert in this region of the
> > kernel, but my guess is that we're going to see this more and more
> > often, so someone with a clue should take a look at this.
>
> To me, this looks like a problem with common symbols that I have run
> into a couple of times (I think it was in i2o).
>
> Compiling with -fno-common or linking with -d worked for me.
> (Or avoid having uninitialized global variables.)
>
> I guess insmod should actually complain in this case ?!
>
>  -Tommy
>


<Prev in Thread] Current Thread [Next in Thread>