Re: Relocation overflow with modules on Alpha

From: Måns Rullgård
Date: Mon Jan 05 2004 - 20:01:25 EST


Thorsten Kranzkowski <dl8bcu@xxxxxxxxx> writes:

> On Mon, Jan 05, 2004 at 02:21:37AM +0100, Måns Rullgård wrote:
>>
>> I compiled Linux 2.6.0 for Alpha, and it mostly works, except the
>> somewhat large modules. They fail to load with the message
>> "Relocation overflow vs section 17", or some other section number.
>> I've seen this with scsi-mod, nfsd, snd-page-alloc and possibly some
>> more. Compiling them statically works. What's going on?
>
> I saw a similar thing, but I'm compiling everything statically:

I want the modules.

> : relocation truncated to fit: BRADDR .init.text
> init/built-in.o(.text+0xf10): In function `inflate_codes':
>
> Disabling a not so important subsystem (sound) helped for the time being.
>
> It seems my kernel crossed the 4 MB barrier in consumed RAM and possibly
> some relocation type(s) can't cope with that. Time to use -fpic or
> some such?

I didn't think of that. Where's the proper place to set such things?

--
Måns Rullgård
mru@xxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/