Bug 2853

Summary: perf: building failed since hardcoded slang dir
Product: [Build System, Metadata & Runtime] OE-Core Reporter: LiRongQing <rongqing.li>
Component: kernelAssignee: LiRongQing <rongqing.li>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bruce.ashfield, corneliux.stoicescu, jessica.zhang, song.liu, tom.zanussi
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description LiRongQing 2012-07-30 06:08:06 UTC
Error log as below:

| cc1: error: include location "/usr/include/slang" is unsafe for cross-compilation [-Werror=poison-system-directories]
| cc1: all warnings being treated as errors
Comment 2 Stoicescu Cornel 2012-11-06 11:21:10 UTC
Verified using:
"
bitbake perf

BB_VERSION        = "1.16.0"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20121106"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp    = "master:78983e939ab17f02f8911c8b0d0e326b419856b9"
"

Also when using licensing options incompatible with perf, it is not built. This is now possible because it has its own recipe.