Bug 4871

Summary: nss-native:do_compile failed with gcc version 4.1.2 on x86
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chunrong Guo <b40290>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: 1.5   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Chunrong Guo 2013-07-19 05:56:06 UTC
branch:master
poky :31e6eee860b5f9f4ac9ef0889bcff5648de6e3f9

Test Env: 
CentOS release 5.9 (Final)
Linux 2.6.18-348.12.1.el5.centos.plus
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)

$ source  ./oe-init-build-env 
$ bitbake nss 

the below error log:
intel-gcm.s: Assembler messages:
intel-gcm.s:39: Error: no such instruction: `vmovdqu (Tp),T'
intel-gcm.s:40: Error: no such instruction: `vpshufb .Lbswap_mask(%rip),T,T'
intel-gcm.s:41: Error: no such instruction: `vpxor TMP0,TMP0,TMP0'
intel-gcm.s:44: Error: no such instruction: `vpinsrq $0,Mlen,TMP0,TMP0'
intel-gcm.s:45: Error: no such instruction: `vpinsrq $1,Alen,TMP0,TMP0'
intel-gcm.s:46: Error: no such instruction: `vpxor TMP0,T,T'
.......................................
make[3]: *** [Linux3.4_x86_64_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/intel-gcm.o] Error 1
make[3]: Leaving directory `/home/b19537/jenkins/reports/poky/build/tmp/work/x86_64-linux/nss-native/3.15.1-r0/nss-3.15.1/nss/lib/freebl'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/home/b19537/jenkins/reports/poky/build/tmp/work/x86_64-linux/nss-native/3.15.1-r0/nss-3.15.1/nss/lib/freebl'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/home/b19537/jenkins/reports/poky/build/tmp/work/x86_64-linux/nss-native/3.15.1-r0/nss-3.15.1/nss/lib'
make: *** [libs] Error 2
make: Leaving directory `/home/b19537/jenkins/reports/poky/build/tmp/work/x86_64-linux/nss-native/3.15.1-r0/nss-3.15.1/nss'
ERROR: Function failed: do_compile (log file is located at /home/b19537/jenkins/reports/poky/build/tmp/work/x86_64-linux/nss-native/3.15.1-r0/temp/log.do_compile.26351
Comment 1 Saul Wold 2013-07-22 20:20:53 UTC
This version of CentOS and GCC is not tested, nor directly supported by core at this time, if want to support this, we would gladly accept patches. We can reopen this bug and assign it back to you.