Got the -G 0.... Honestly, I'm pretty sure it was compiled with the right flags. They match the flags I'm using to build the kernel, at least as far as I can see. 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: Daniel Jacobowitz [mailto:dan@debian.org] > Sent: Monday, February 25, 2002 5:13 PM > To: Matthew Dharm > Cc: Kevin Paul Herbert; Linux-MIPS > Subject: Re: Is this a toolchain bug? > > > On Mon, Feb 25, 2002 at 12:30:38PM -0800, Matthew Dharm wrote: > > Well, that fixes it. The driver works out-of-the-box > with just some > > minor makefile modifications. > > > > 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. > > > > I'm more than willing to help, as I seem to be the only > person with a > > 100% reproducable situation. But I really have no idea > even where to > > begin looking... my expertise ends right about at > objdump, and even > > then I'm not certain how some of that data should look > for loadable > > modules. > > Silly question... was the module built with the correct > flags? Look at > a command line; does it have all the same options as when > you build a > module in the kernel source? > > I bet something's missing. Probably -G 0... > > -- > Daniel Jacobowitz Carnegie Mellon > University > MontaVista Software Debian > GNU/Linux Developer >