All of lore.kernel.org
 help / color / mirror / Atom feed
* DECstation compile fails: opcode not supported (eret)
@ 2006-01-21 19:59 Martin Michlmayr
  2006-01-22  2:58 ` Kumba
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Michlmayr @ 2006-01-21 19:59 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: linux-mips

linux-mips git with the standard DECstation config from
arch/mips/configs/decstation_defconfig fails with the following error:

  AS      arch/mips/kernel/genex.o
arch/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

-- 
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: DECstation compile fails: opcode not supported (eret)
  2006-01-21 19:59 DECstation compile fails: opcode not supported (eret) Martin Michlmayr
@ 2006-01-22  2:58 ` Kumba
  2006-01-22 13:11   ` Martin Michlmayr
  0 siblings, 1 reply; 6+ messages in thread
From: Kumba @ 2006-01-22  2:58 UTC (permalink / raw)
  To: linux-mips

Martin Michlmayr wrote:
> linux-mips git with the standard DECstation config from
> arch/mips/configs/decstation_defconfig fails with the following error:
> 
>   AS      arch/mips/kernel/genex.o
> arch/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

I think this broke it:
http://www.linux-mips.org/git?p=linux.git;a=commitdiff;h=cfbc9cac62f0438cefe171736729e786b45884b8;hp=2dcaaf2decd31ac9a21d616604c0a7c1fa65d5a4


--Kumba

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: DECstation compile fails: opcode not supported (eret)
  2006-01-22  2:58 ` Kumba
@ 2006-01-22 13:11   ` Martin Michlmayr
  2006-01-23 10:36     ` Maciej W. Rozycki
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Michlmayr @ 2006-01-22 13:11 UTC (permalink / raw)
  To: linux-mips

* Kumba <kumba@gentoo.org> [2006-01-21 21:58]:
> >  AS      arch/mips/kernel/genex.o
> >arch/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
> 
> I 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.

-- 
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: DECstation compile fails: opcode not supported (eret)
  2006-01-22 13:11   ` Martin Michlmayr
@ 2006-01-23 10:36     ` Maciej W. Rozycki
  2006-01-23 11:13       ` Martin Michlmayr
  0 siblings, 1 reply; 6+ messages in thread
From: Maciej W. Rozycki @ 2006-01-23 10:36 UTC (permalink / raw)
  To: Martin Michlmayr; +Cc: linux-mips

On Sun, 22 Jan 2006, Martin Michlmayr wrote:

> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: DECstation compile fails: opcode not supported (eret)
  2006-01-23 10:36     ` Maciej W. Rozycki
@ 2006-01-23 11:13       ` Martin Michlmayr
  2006-01-23 12:02         ` Maciej W. Rozycki
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Michlmayr @ 2006-01-23 11:13 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: linux-mips

* Maciej W. Rozycki <macro@linux-mips.org> [2006-01-23 10:36]:
> > 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.
-- 
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: DECstation compile fails: opcode not supported (eret)
  2006-01-23 11:13       ` Martin Michlmayr
@ 2006-01-23 12:02         ` Maciej W. Rozycki
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej W. Rozycki @ 2006-01-23 12:02 UTC (permalink / raw)
  To: Martin Michlmayr; +Cc: linux-mips

On Mon, 23 Jan 2006, Martin Michlmayr wrote:

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-23 11:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-21 19:59 DECstation compile fails: opcode not supported (eret) Martin Michlmayr
2006-01-22  2:58 ` Kumba
2006-01-22 13:11   ` Martin Michlmayr
2006-01-23 10:36     ` Maciej W. Rozycki
2006-01-23 11:13       ` Martin Michlmayr
2006-01-23 12:02         ` Maciej W. Rozycki

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.