2015-07-13 23:52:43

by Reinoud Koornstra

[permalink] [raw]
Subject: compile failure linux 3.10 with gcc 4.9.3 for mips

Hi Everyone,

Did anybody enounter the following compiler problem with linux 3.10.81?
gcc version is 4.9.3 for mips.

arch/mips/kernel/r4k_fpu.S: Assembler messages:
arch/mips/kernel/r4k_fpu.S:59: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f0,272+0($4)'
arch/mips/kernel/r4k_fpu.S:60: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f2,272+16($4)'
arch/mips/kernel/r4k_fpu.S:61: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f4,272+32($4)'
arch/mips/kernel/r4k_fpu.S:62: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f6,272+48($4)'
arch/mips/kernel/r4k_fpu.S:63: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f8,272+64($4)'
arch/mips/kernel/r4k_fpu.S:64: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f10,272+80($4)'
arch/mips/kernel/r4k_fpu.S:65: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f12,272+96($4)'
arch/mips/kernel/r4k_fpu.S:66: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f14,272+112($4)'
arch/mips/kernel/r4k_fpu.S:67: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f16,272+128($4)'
arch/mips/kernel/r4k_fpu.S:68: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f18,272+144($4)'
arch/mips/kernel/r4k_fpu.S:69: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f20,272+160($4)'
arch/mips/kernel/r4k_fpu.S:70: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f22,272+176($4)'
arch/mips/kernel/r4k_fpu.S:71: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f24,272+192($4)'
arch/mips/kernel/r4k_fpu.S:72: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f26,272+208($4)'
arch/mips/kernel/r4k_fpu.S:73: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f28,272+224($4)'
arch/mips/kernel/r4k_fpu.S:74: Error: opcode not supported on this
processor: mips3 (mips3) `sdc1 $f30,272+240($4)'
arch/mips/kernel/r4k_fpu.S:135: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f0,272+0($4)'
arch/mips/kernel/r4k_fpu.S:136: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f2,272+16($4)'
arch/mips/kernel/r4k_fpu.S:137: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f4,272+32($4)'
arch/mips/kernel/r4k_fpu.S:138: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f6,272+48($4)'
arch/mips/kernel/r4k_fpu.S:139: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f8,272+64($4)'
arch/mips/kernel/r4k_fpu.S:140: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f10,272+80($4)'
arch/mips/kernel/r4k_fpu.S:141: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f12,272+96($4)'
arch/mips/kernel/r4k_fpu.S:142: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f14,272+112($4)'
arch/mips/kernel/r4k_fpu.S:143: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f16,272+128($4)'
arch/mips/kernel/r4k_fpu.S:144: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f18,272+144($4)'
arch/mips/kernel/r4k_fpu.S:145: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f20,272+160($4)'
arch/mips/kernel/r4k_fpu.S:146: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f22,272+176($4)'
arch/mips/kernel/r4k_fpu.S:147: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f24,272+192($4)'
arch/mips/kernel/r4k_fpu.S:148: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f26,272+208($4)'
arch/mips/kernel/r4k_fpu.S:149: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f28,272+224($4)'
arch/mips/kernel/r4k_fpu.S:150: Error: opcode not supported on this
processor: mips3 (mips3) `ldc1 $f30,272+240($4)'

Thanks,

Reinoud.


2015-07-15 04:40:17

by Khem Raj

[permalink] [raw]
Subject: Re: compile failure linux 3.10 with gcc 4.9.3 for mips

Reinoud Koornstra <reinoudkoornstra <at> gmail.com> writes:

>
> Hi Everyone,
>
> Did anybody enounter the following compiler problem with linux 3.10.81?
> gcc version is 4.9.3 for mips.
>
> arch/mips/kernel/r4k_fpu.S: Assembler messages:
> arch/mips/kernel/r4k_fpu.S:59: Error: opcode not supported on this
> processor: mips3 (mips3) `sdc1 $f0,272+0($4)'

following backport might help

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?
id=842dfc11ea9a21f9825167c8a4f2834b205b0a79

>
> Thanks,
>
> Reinoud.
>