linux-mips
[Top] [All Lists]

Re: Is this a toolchain bug?

To: Matthew Dharm <mdharm@momenco.com>
Subject: Re: Is this a toolchain bug?
From: "Tommy S. Christensen" <tommy.christensen@eicon.com>
Date: Tue, 26 Feb 2002 11:31:03 +0100
Cc: Kevin Paul Herbert <kph@ayrnetworks.com>, Linux-MIPS <linux-mips@oss.sgi.com>
References: <NEBBLJGMNKKEEMNLHGAIGEMACFAA.mdharm@momenco.com>
Sender: owner-linux-mips@oss.sgi.com
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>