All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lijun Chen" <chenli@nortelnetworks.com>
To: linux-mips@linux-mips.org
Subject: MIPS64 cross compiling errors: cpu-probe.c:167: error: unknown register name `accum' in `asm'
Date: Tue, 04 Nov 2003 18:39:24 -0500	[thread overview]
Message-ID: <3FA838AC.4040807@americasm01.nt.com> (raw)

Hi,

I am cross compiling a 64-bit MIPS kernel for BCM1250. The cross 
compiler is
from Broadcom sbtools: mips64-linux-gcc. Now I got the following errors:

gcc -D__KERNEL__ -I/src/kernel/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
-I /src/kernel/include/asm/gcc -mabi=64 -G 0 -mno-abicalls -fno-pic 
-Wa,--trap -pipe -  -nostdinc -iwithprefix include 
-DKBUILD_BASENAME=cpu_probe  -c -o cpu-probe.o cpu-probe.c
cpu-probe.c: In function `align_mod':

cpu-probe.c:118: warning: asm operand 0 probably doesn't match constraints
cpu-probe.c:118: warning: asm operand 1 probably doesn't match constraints
cpu-probe.c: In function `mult_sh_align_mod':

cpu-probe.c:118: warning: asm operand 0 probably doesn't match constraints
cpu-probe.c:118: warning: asm operand 1 probably doesn't match constraints
cpu-probe.c:167: error: unknown register name `accum' in `asm'
cpu-probe.c:118: warning: asm operand 0 probably doesn't match constraints
cpu-probe.c:118: warning: asm operand 1 probably doesn't match constraints
cpu-probe.c: In function `check_mult_sh':

cpu-probe.c:167: error: unknown register name `accum' in `asm'
cpu-probe.c:167: error: unknown register name `accum' in `asm'
cpu-probe.c:167: error: unknown register name `accum' in `asm'
cpu-probe.c:167: error: unknown register name `accum' in `asm'
cpu-probe.c:167: error: unknown register name `accum' in `asm'
cpu-probe.c:167: error: unknown register name `accum' in `asm'
cpu-probe.c:167: error: unknown register name `accum' in `asm'
cpu-probe.c:167: error: unknown register name `accum' in `asm'

The gcc is a wrapper that is actually:
/usr/local/sbtools/x86-linux-rh6.0/mips64-linux-2.8.24/bin/mips64-linux-gcc 
-msb1-pass2-workarounds "$@"

The kernel is 2.4.22.

Any suggestions what is the cause? Thanks in advance.

Lijun

                 reply	other threads:[~2003-11-04 23:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3FA838AC.4040807@americasm01.nt.com \
    --to=chenli@nortelnetworks.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.