[yocto] Kernel Build error

Khem Raj raj.khem at gmail.com
Tue Apr 26 07:17:11 PDT 2016


On Tue, Apr 26, 2016 at 12:10 AM, Harinath maddelal
<Harinath.maddela at inedasystems.com> wrote:
>
> Hi,
>
>
> Kernel Version is 3.10.60 & our platform is mips32.

you are building old kernel with newer toolchain this backport might help
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=842dfc11ea9a21f9825167c8a4f2834b205b0a79

>
> For GCC I haven't made any changes. I have used the default GCC from yocto.
> Looks like by default it is using 5.3.0 version.
>
>
> Can we specify our GCC in the YOCTO?

even if you can, I advise not to do so.


>
>
> Thanks and Regards,
> Harinath
>
>
>
> ________________________________
> From: Khem Raj <raj.khem at gmail.com>
> Sent: Tuesday, April 26, 2016 12:13 PM
> To: Harinath maddelal; yocto at yoctoproject.org
> Subject: Re: [yocto] Kernel Build error
>
> which version of kernel are you compiling and what version of gcc is in play
> ?
>
> On Mon, Apr 25, 2016 at 11:31 PM Harinath maddelal
> <Harinath.maddela at inedasystems.com> wrote:
>>
>> Hi All,
>>
>>
>> When i'm trying to build my kernel using yocto, im getting following error
>>
>>
>> |   CHK     include/generated/compile.h
>> |   AS      arch/mips/kernel/r4k_fpu.o
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:
>> Assembler messages:
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:89:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f0,272+0($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:90:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f2,272+16($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:91:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f4,272+32($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:92:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f6,272+48($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:93:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f8,272+64($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:94:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f10,272+80($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:95:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f12,272+96($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:96:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f14,272+112($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:97:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f16,272+128($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:98:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f18,272+144($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:99:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f20,272+160($4)'
>> |
>> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:100:
>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>> $f22,272+176($4)'
>>
>>
>> Can you please tell me what could be the issue? We have used mips32r2 in
>> our machine file but if the error log is observed where it says "Error:
>> opcode not supported on this processor: mips3 (mips3) `sdc1 $f6,272+48($4)".
>>
>>
>> Can you please help me resolve this issue. Thanks in Advance
>>
>>
>> Thanks and Regards,
>> Harinath
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________



More information about the yocto mailing list