Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@oss.sgi.com>
To: rajesh.palani@philips.com
Cc: <linux-mips@oss.sgi.com>, <linux-mips@fnet.fr>
Subject: Re: Problem with using modutils
Date: Thu, 29 Mar 2001 00:19:31 +0200	[thread overview]
Message-ID: <20010329001931.B4585@bacchus.dhis.org> (raw)
In-Reply-To: <0056910011132437000002L172*@MHS>; from rajesh.palani@philips.com on Wed, Mar 28, 2001 at 01:53:04PM -0600

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

WARNING: multiple messages have this Message-ID (diff)
From: Ralf Baechle <ralf@oss.sgi.com>
To: rajesh.palani@philips.com
Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: Problem with using modutils
Date: Thu, 29 Mar 2001 00:19:31 +0200	[thread overview]
Message-ID: <20010329001931.B4585@bacchus.dhis.org> (raw)
Message-ID: <20010328221931.xjVuxCsHaDliDCQ49OTtGCvFACE13p3W8S2gwVXnhjs@z> (raw)
In-Reply-To: <0056910011132437000002L172*@MHS>; from rajesh.palani@philips.com on Wed, Mar 28, 2001 at 01:53:04PM -0600

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

  parent reply	other threads:[~2001-03-28 22:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2001-03-28 22:19   ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010329001931.B4585@bacchus.dhis.org \
    --to=ralf@oss.sgi.com \
    --cc=linux-mips@fnet.fr \
    --cc=linux-mips@oss.sgi.com \
    --cc=rajesh.palani@philips.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox