summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry_eremin@mentor.com>2015-04-22 12:49:52 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-28 07:56:55 +0100
commit5c93858a51bf3ab765980fe75961b7185990a153 (patch)
tree6b243a90efb5cd4e681de02c04d331fbcd971a53
parent4817e01a7b3f1376fb8ccf4f8e7bb3ecda31c5c6 (diff)
downloadpoky-5c93858a51bf3ab765980fe75961b7185990a153.tar.gz
icecc.bbclass: blacklist libgcc-initial
Building libgcc-initial with IceCC enabled can fail with the CPP sanity check error in the following case (using ARM for example): * sysroot contains cross gcc built for another ARM variant * sysroot contains initial cross gcc built to suit the target machine * bitbake tries to configure libgcc-initial * libgcc-initial calls icecc wrapper * icecc wrapper calls non-initial cross gcc via the full path * non-initial cross gcc looks for the headers in the wrong place * BOOM (From OE-Core rev: 0fe64b080cc9854979b501908060aeb9811d9973) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/icecc.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 2f9e3cf8ef..529b097aac 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -117,7 +117,8 @@ def use_icc(bb,d):
117 # system_package_blacklist = [ "uclibc", "glibc", "gcc", "bind", "u-boot", "dhcp-forwarder", "enchant", "connman", "orbit2" ] 117 # system_package_blacklist = [ "uclibc", "glibc", "gcc", "bind", "u-boot", "dhcp-forwarder", "enchant", "connman", "orbit2" ]
118 # when adding new entry, please document why (how it failed) so that we can re-evaluate it later 118 # when adding new entry, please document why (how it failed) so that we can re-evaluate it later
119 # e.g. when there is new version 119 # e.g. when there is new version
120 system_package_blacklist = [] 120 # building libgcc-initial with icecc fails with CPP sanity check error if host sysroot contains cross gcc built for another target tune/variant
121 system_package_blacklist = ["libgcc-initial"]
121 user_package_blacklist = (d.getVar('ICECC_USER_PACKAGE_BL') or "").split() 122 user_package_blacklist = (d.getVar('ICECC_USER_PACKAGE_BL') or "").split()
122 user_package_whitelist = (d.getVar('ICECC_USER_PACKAGE_WL') or "").split() 123 user_package_whitelist = (d.getVar('ICECC_USER_PACKAGE_WL') or "").split()
123 package_blacklist = system_package_blacklist + user_package_blacklist 124 package_blacklist = system_package_blacklist + user_package_blacklist