* Problem with using modutils
@ 2001-03-28 19:53 rajesh.palani
2001-03-28 19:53 ` rajesh.palani
2001-03-28 22:19 ` Ralf Baechle
0 siblings, 2 replies; 4+ messages in thread
From: rajesh.palani @ 2001-03-28 19:53 UTC (permalink / raw)
To: linux-mips, linux-mips
[-- Attachment #1: MEMO 03/28/01 13:50:07 --]
[-- Type: text/plain, Size: 940 bytes --]
Hi,
I am trying to use insmod on a MIPS platform. I try to install a simple module & get the following errors:
local symbol gcc2_compiled. with index 10 exceeds local_symtab_size 10
local symbol __gnu_compiled_c with index 11 exceeds local_symtab_size 10
I use the following line for generating the object file:
mipsel-linux-gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r3000 -mlong-calls -mips1 -pipe -c
I am using modutils version 2.3.11. We have tried both Debian and RedHat sources cross-compiled for MIPS with the following options:
CC=mipsel-linux-gcc CFLAGS="-I../linux/include -DMIPS" RANLIB=mipsel-linux-ranlib AR=mipsel-linux-ar ./configure --disable-kerneld
--disable-compat-2-0 --enable-insmod-static --target=mipsel-linux
However the problem still remains.
Any pointers would be greatly appreciated.
Best regards,
Rajesh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Problem with using modutils
2001-03-28 19:53 Problem with using modutils rajesh.palani
@ 2001-03-28 19:53 ` rajesh.palani
2001-03-28 22:19 ` Ralf Baechle
1 sibling, 0 replies; 4+ messages in thread
From: rajesh.palani @ 2001-03-28 19:53 UTC (permalink / raw)
To: linux-mips, linux-mips
[-- Attachment #1: MEMO 03/28/01 13:50:07 --]
[-- Type: text/plain, Size: 940 bytes --]
Hi,
I am trying to use insmod on a MIPS platform. I try to install a simple module & get the following errors:
local symbol gcc2_compiled. with index 10 exceeds local_symtab_size 10
local symbol __gnu_compiled_c with index 11 exceeds local_symtab_size 10
I use the following line for generating the object file:
mipsel-linux-gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r3000 -mlong-calls -mips1 -pipe -c
I am using modutils version 2.3.11. We have tried both Debian and RedHat sources cross-compiled for MIPS with the following options:
CC=mipsel-linux-gcc CFLAGS="-I../linux/include -DMIPS" RANLIB=mipsel-linux-ranlib AR=mipsel-linux-ar ./configure --disable-kerneld
--disable-compat-2-0 --enable-insmod-static --target=mipsel-linux
However the problem still remains.
Any pointers would be greatly appreciated.
Best regards,
Rajesh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with using modutils
2001-03-28 19:53 Problem with using modutils rajesh.palani
2001-03-28 19:53 ` rajesh.palani
@ 2001-03-28 22:19 ` Ralf Baechle
2001-03-28 22:19 ` Ralf Baechle
1 sibling, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2001-03-28 22:19 UTC (permalink / raw)
To: rajesh.palani; +Cc: linux-mips, linux-mips
On Wed, Mar 28, 2001 at 01:53:04PM -0600, rajesh.palani@philips.com wrote:
> I am trying to use insmod on a MIPS platform. I try to install a simple module & get the following errors:
>
> local symbol gcc2_compiled. with index 10 exceeds local_symtab_size 10
> local symbol __gnu_compiled_c with index 11 exceeds local_symtab_size 10
This is a gas bug which somebody just fixed. As a workaround for the time
until we can deploy the fix please re-link modules with a command like
ld -r -o new.o broken.o.
> I use the following line for generating the object file:
> mipsel-linux-gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r3000 -mlong-calls -mips1 -pipe -c
That's correct.
> I am using modutils version 2.3.11. We have tried both Debian and RedHat sources cross-compiled for MIPS with the following options:
> CC=mipsel-linux-gcc CFLAGS="-I../linux/include -DMIPS" RANLIB=mipsel-linux-ranlib AR=mipsel-linux-ar ./configure --disable-kerneld
> --disable-compat-2-0 --enable-insmod-static --target=mipsel-linux
> However the problem still remains.
Please upgrade to the latest modutils from ftp.kernel.org; it has a bugfixes
which are important for MIPS.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with using modutils
2001-03-28 22:19 ` Ralf Baechle
@ 2001-03-28 22:19 ` Ralf Baechle
0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2001-03-28 22:19 UTC (permalink / raw)
To: rajesh.palani; +Cc: linux-mips, linux-mips
On Wed, Mar 28, 2001 at 01:53:04PM -0600, rajesh.palani@philips.com wrote:
> I am trying to use insmod on a MIPS platform. I try to install a simple module & get the following errors:
>
> local symbol gcc2_compiled. with index 10 exceeds local_symtab_size 10
> local symbol __gnu_compiled_c with index 11 exceeds local_symtab_size 10
This is a gas bug which somebody just fixed. As a workaround for the time
until we can deploy the fix please re-link modules with a command like
ld -r -o new.o broken.o.
> I use the following line for generating the object file:
> mipsel-linux-gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r3000 -mlong-calls -mips1 -pipe -c
That's correct.
> I am using modutils version 2.3.11. We have tried both Debian and RedHat sources cross-compiled for MIPS with the following options:
> CC=mipsel-linux-gcc CFLAGS="-I../linux/include -DMIPS" RANLIB=mipsel-linux-ranlib AR=mipsel-linux-ar ./configure --disable-kerneld
> --disable-compat-2-0 --enable-insmod-static --target=mipsel-linux
> However the problem still remains.
Please upgrade to the latest modutils from ftp.kernel.org; it has a bugfixes
which are important for MIPS.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-03-28 22:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-28 19:53 Problem with using modutils rajesh.palani
2001-03-28 19:53 ` rajesh.palani
2001-03-28 22:19 ` Ralf Baechle
2001-03-28 22:19 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox