Bug 2853 - perf: building failed since hardcoded slang dir
Summary: perf: building failed since hardcoded slang dir
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: LiRongQing
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-30 06:08 UTC by LiRongQing
Modified: 2012-11-06 11:21 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.