Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Ho Tan" <ho.tan@avantec.com.hk>
To: <linux-mips@linux-mips.org>
Subject: Kernel compile error
Date: Thu, 11 Nov 2004 16:09:48 +0800	[thread overview]
Message-ID: <00df01c4c7c5$cffdad90$6e01a8c0@HughTan> (raw)

[-- Attachment #1: Type: text/plain, Size: 2401 bytes --]

Dear all,

I download the ELDK tools kit (2.1.0 eldk-mips-linux-x86) from www.denx.de website and follow the instruction to install it into the RedHat 7.3.
and I successfully installed into the Redhat 7.3 without any problem.

My target hardware platform is infineon INCAIP and i follow the below instruction to compile the kernel. The kernel source is download from www.denx.de (linux-mips)
make mrproper
make incaip_config
make oldconfig
make dep
make uImage

When compliation, everything go fine until the compiler compling entry.S which locate at arch/mips/kernel. and the Error message prompt.

make[1]: Entering directory `/usr/eldk/usr/src/linux-mips/arch/mips/kernel'
mips_4KC-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/eldk/usr/src/linux-mips/include -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32 -D_MIPS_SZINT=32  -g -G 0 -mno-abicalls -fno-pic -pipe   -c -o entry.o entry.S
entry.S: Assembler messages:
entry.S:225: Error: unrecognized opcode `reg_s $8,164($29)'
entry.S:226: Error: unrecognized opcode `reg_s $8,164($29)'
make[1]: *** [entry.o] Error 1
make[1]: Leaving directory `/usr/eldk/usr/src/linux-mips/arch/mips/kernel'
make: *** [_dir_arch/mips/kernel] Error 2

The source of the entry.S is as below:

Line 225:                BUILD_HANDLER(adel,ade,ade,silent)              /* #4  */
Line 226:                BUILD_HANDLER(ades,ade,ade,silent)             /* #5  */
Line 227:                BUILD_HANDLER(ibe,be,cli,silent)                   /* #6  */
Line 228:                BUILD_HANDLER(dbe,be,cli,silent)                  /* #7  */
Line 229:                BUILD_HANDLER(bp,bp,sti,silent)                   /* #9  */
Line 230:                BUILD_HANDLER(ri,ri,sti,silent)                      /* #10 */
Line 231:                BUILD_HANDLER(cpu,cpu,sti,silent)               /* #11 */
Line 232:                BUILD_HANDLER(ov,ov,sti,silent)                   /* #12 */
Line 233:                BUILD_HANDLER(tr,tr,sti,silent)                     /* #13 */
Line 234:                BUILD_HANDLER(fpe,fpe,fpe,silent)                /* #15 */
Line 235:                BUILD_HANDLER(watch,watch,sti,silent)        /* #23 */
Line 236:                BUILD_HANDLER(mcheck,mcheck,cli,silent)  /* #24 */
Line 237:                BUILD_HANDLER(reserved,reserved,sti,silent) /* others */

Anyone could give any suggestion on this??

Best Regards,

Hugh

[-- Attachment #2: Type: text/html, Size: 5851 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: "Ho Tan" <ho.tan@avantec.com.hk>
To: linux-mips@linux-mips.org
Subject: Kernel compile error
Date: Thu, 11 Nov 2004 16:09:48 +0800	[thread overview]
Message-ID: <00df01c4c7c5$cffdad90$6e01a8c0@HughTan> (raw)
Message-ID: <20041111080948.q7UjSKnwZafInmt1olWDw2jWHhSmSBlQGi0rZkS4ERk@z> (raw)

[-- Attachment #1: Type: text/plain, Size: 2401 bytes --]

Dear all,

I download the ELDK tools kit (2.1.0 eldk-mips-linux-x86) from www.denx.de website and follow the instruction to install it into the RedHat 7.3.
and I successfully installed into the Redhat 7.3 without any problem.

My target hardware platform is infineon INCAIP and i follow the below instruction to compile the kernel. The kernel source is download from www.denx.de (linux-mips)
make mrproper
make incaip_config
make oldconfig
make dep
make uImage

When compliation, everything go fine until the compiler compling entry.S which locate at arch/mips/kernel. and the Error message prompt.

make[1]: Entering directory `/usr/eldk/usr/src/linux-mips/arch/mips/kernel'
mips_4KC-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/eldk/usr/src/linux-mips/include -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32 -D_MIPS_SZINT=32  -g -G 0 -mno-abicalls -fno-pic -pipe   -c -o entry.o entry.S
entry.S: Assembler messages:
entry.S:225: Error: unrecognized opcode `reg_s $8,164($29)'
entry.S:226: Error: unrecognized opcode `reg_s $8,164($29)'
make[1]: *** [entry.o] Error 1
make[1]: Leaving directory `/usr/eldk/usr/src/linux-mips/arch/mips/kernel'
make: *** [_dir_arch/mips/kernel] Error 2

The source of the entry.S is as below:

Line 225:                BUILD_HANDLER(adel,ade,ade,silent)              /* #4  */
Line 226:                BUILD_HANDLER(ades,ade,ade,silent)             /* #5  */
Line 227:                BUILD_HANDLER(ibe,be,cli,silent)                   /* #6  */
Line 228:                BUILD_HANDLER(dbe,be,cli,silent)                  /* #7  */
Line 229:                BUILD_HANDLER(bp,bp,sti,silent)                   /* #9  */
Line 230:                BUILD_HANDLER(ri,ri,sti,silent)                      /* #10 */
Line 231:                BUILD_HANDLER(cpu,cpu,sti,silent)               /* #11 */
Line 232:                BUILD_HANDLER(ov,ov,sti,silent)                   /* #12 */
Line 233:                BUILD_HANDLER(tr,tr,sti,silent)                     /* #13 */
Line 234:                BUILD_HANDLER(fpe,fpe,fpe,silent)                /* #15 */
Line 235:                BUILD_HANDLER(watch,watch,sti,silent)        /* #23 */
Line 236:                BUILD_HANDLER(mcheck,mcheck,cli,silent)  /* #24 */
Line 237:                BUILD_HANDLER(reserved,reserved,sti,silent) /* others */

Anyone could give any suggestion on this??

Best Regards,

Hugh

[-- Attachment #2: Type: text/html, Size: 5851 bytes --]

             reply	other threads:[~2004-11-11  8:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11  8:09 Ho Tan [this message]
2004-11-11  8:09 ` Kernel compile error Ho Tan
2004-11-11 12:38 ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2001-01-05 22:18 Nicu Popovici
2001-01-05 20:39 ` Maciej W. Rozycki
2001-01-06 17:27   ` 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='00df01c4c7c5$cffdad90$6e01a8c0@HughTan' \
    --to=ho.tan@avantec.com.hk \
    --cc=linux-mips@linux-mips.org \
    /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