RE: Is this a toolchain bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux