linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Christian Kujau <evil@g-house.de>
To: linuxppc-dev list <linuxppc-dev@lists.linuxppc.org>
Subject: Error: Unrecognized opcode: `dssall'
Date: Fri, 21 May 2004 23:23:25 +0200	[thread overview]
Message-ID: <40AE734D.1020609@g-house.de> (raw)


hi,

i'm successfully using a crosstoolchain to compile gcc+binutils on i386
to make targets for powerpc-linux. upon "upgrading" the toolchain new
sources for gcc+binutils were fetched and now kernel-compilation fails
as follows:

-----------
   CHK     include/asm-ppc/offsets.h
*** 2.6 kernels no longer buildcorrectly with old versions of binutils.
*** Please upgrade your binutils to 2.12.1 or newer
make: *** [checkbin] Error 1
-----------

there is a check in arch/ppc/Makefile:

-----------
# Ensure this is binutils 2.12.1 (or 2.12.90.0.7) or later
NEW_AS  := $(shell echo dssall | $(AS) -o /dev/null >/dev/null 2>&1 ; \
echo $$?)
-----------

i don't really know what "dssall" is, but obviously it should be a valid
input for "as". now, please see the following:

-----------
/usr/local/opt/crosstool_new/bin/powerpc-linux-as --version
GNU assembler 2.14.92 20040507
This assembler was configured for a target of `powerpc-linux'.

/usr/local/opt/crosstool_old/bin/powerpc-linux-as --version
GNU assembler 2.14 20030612
This assembler was configured for a target of `powerpc-linux'.
-----------
(copyright notes removed), both versions of "as" seem to be in place.
but testing "dssall" gives indeed:

-----------
echo dssall | /usr/local/opt/crosstool_new/bin/powerpc-linux-as
{standard input}: Assembler messages:
{standard input}:1: Error: Unrecognized opcode: `dssall'

echo dssall | /usr/local/opt/crosstool_old/bin/powerpc-linux-as
[no message, so it's OK]
-----------


ok, i guess you get the picture. now, this "dssall" appears several
times under arch/ppc, so the real kernel compile fails. what i seek to
understand is: "as" comes with "binutils", but there was only a minor
upgrade in binutils, i somehow expected some brokenness from the new
gcc-3.4 (sorry gcc folks, really...).

perhaps you have some thoughts on it....
i'll go on with different binutils now...


Thanks,
Christian.
--
BOFH excuse #193:

Did you pay the new Support Fee?

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2004-05-21 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21 21:23 Christian Kujau [this message]
2004-05-25 22:21 ` Error: Unrecognized opcode: `dssall' Christian Kujau

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=40AE734D.1020609@g-house.de \
    --to=evil@g-house.de \
    --cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).