Bug 8224

Summary: edgerouter LSB (3.14) kernel fails to build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: kernelAssignee: Kevin Hao <kexin.hao>
Status: VERIFIED FIXED QA Contact: Yi Zhao <yi.zhao>
Severity: normal    
Priority: High CC: alexandru.c.georgescu, bruce.ashfield, ke.zou, tom.zanussi
Version: 1.9   
Target Milestone: 2.0   
Hardware: EdgeRouter   
OS: mips   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 8249    

Description Ross Burton 2015-08-28 21:33:53 UTC
ERROR: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/3.14.36+gitAUTOINC+b55cfc0308_7534aeb018-r0/temp/log.do_compile.1065)

| {standard input}:157: Error: opcode not supported on this processor: octeon (mips64r2) `saa $2,($4)'
| {standard input}:5385: Error: opcode not supported on this processor: octeon (mips64r2) `saa $11,($2)'
| {standard input}:5810: Error: opcode not supported on this processor: octeon (mips64r2) `saa $10,($2)'
| {standard input}:6158: Error: opcode not supported on this processor: octeon (mips64r2) `saa $3,($7)'
|

Full logs at eg https://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb/builds/460/.
Comment 1 Kevin Hao 2015-09-15 07:16:40 UTC
Fix by commit 578602a722db ("mips: octeon: use ll/sc for the atomic ops for all the predecessor of octeon2")
Comment 2 Alexandru Georgescu 2015-10-23 09:56:29 UTC
Hi Yi, can you verify this during 2.0.rc2 FP?
Comment 3 Ke Zou 2015-10-28 08:21:49 UTC
verified with 2.0 rc2 build