Error: Unrecognized opcode: `dssall'

Christian Kujau evil at
Sat May 22 07:23:25 EST 2004


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 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...

BOFH excuse #193:

Did you pay the new Support Fee?

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list