DECstation compile fails: opcode not supported (eret)
linux-mips git with the standard DECstation config from arch/mips/configs/decstation_defconfig fails with the following error:
AS arch/mips/kernel/genex.oarch/mips/kernel/genex.S: Assembler messages:arch/mips/kernel/genex.S:240: Error: opcode not supported on this processor: mips1 (mips1) `eret' make[1]: *** [arch/mips/kernel/genex.o] Error 1
make: *** [arch/mips/kernel] Error 2
Toolchain used:
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
binutils: 2.16.91 20051117 Debian GNU/Linux
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 9 lines · Martin Michlmayr
linux-mips git with the standard DECstation config from
arch/mips/configs/decstation_defconfigfails with the following error:AS
arch/mips/kernel/genex.oarch/mips/kernel/genex.S: Assembler messages:arch/mips/kernel/genex.S:240: Error: opcode not supported on this processor: mips1 (mips1) `eret' make[1]: *** [arch/mips/kernel/genex.o] Error 1
make: *** [arch/mips/kernel] Error 2
Quoted 3 lines
Toolchain used:
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
binutils: 2.16.91 20051117 Debian GNU/Linux
I think this broke it:
http://www.linux-mips.org/git?p=linux.git;a=commitdiff;h=cfbc9cac62f0438cefe171736729e786b45884b8;hp=2dcaaf2decd31ac9a21d616604c0a7c1fa65d5a4
--Kumba
Signature · 4 lines
Gentoo/MIPS Team Lead Gentoo Foundation Board of Trustees "Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond
Quoted 7 lines · Kumba
Quoted 7 lines
AS
arch/mips/kernel/genex.oarch/mips/kernel/genex.S: Assembler messages:arch/mips/kernel/genex.S:240: Error: opcode not supported on this
processor: mips1 (mips1) `eret'
make[1]: *** [arch/mips/kernel/genex.o] Error 1
make: *** [arch/mips/kernel] Error 2
Quoted 5 lines
Quoted 3 lines
Toolchain used:
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
binutils: 2.16.91 20051117 Debian GNU/LinuxI think this broke it:
That's right, reverting Ralf's commit
Remove stray .set mips3 resulting in 64-bit instruction in 32-bit kernels.
makes it compile.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 3 lines · Martin Michlmayr
That's right, reverting Ralf's commit
Remove stray .set mips3 resulting in 64-bit instruction in 32-bit kernels.
makes it compile.
This ".set mips3" should protect that "eret" alone then.
Maciej
Quoted 5 lines · Maciej W. Rozycki
Quoted 3 lines
That's right, reverting Ralf's commit
Remove stray .set mips3 resulting in 64-bit instruction in 32-bit kernels.
makes it compile.This ".set mips3" should protect that "eret" alone then.
Can you please commit a fix to git.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 3 lines · Martin Michlmayr
Quoted 1 line
This ".set mips3" should protect that "eret" alone then.
Can you please commit a fix to git.
I have no way of doing this, but I may prepare a patch and try to push it
through Ralf.
Maciej