Skip to contentSkip to conversation

gcc-cross-canadian.inc: add INSANE_SKIP_ to avoid build warning

PATCH In review [email protected] 1 participant 2 messages Jul 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc-cross-canadian.inc: add INSANE_SKIP_ to avoid build warning

WARNING: QA Issue: gcc-cross-canadian-i586-dbg: found library in wrong location:
/PATH/sysroots/x86_64-oesdk-linux/usr/libexec/i586-oe-linux/gcc/ i586-oe-linux/5.2.0/.debug/libcc1.so.0.0.0

This warning is introduced by commit f6e47aa(gcc-target 5.1: fix for libcc1)

(From OE-Core jethro rev: 62c51c4178fb66341498c71c74ce42652568c7fa)

---
 meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/gcc/gcc-cross-canadian.inc +2 -0
index ec1d281..1286179 100644
@@ -83,6 +83,8 @@ FILES_${PN} = "\
     ${prefix}/${TARGET_SYS}/usr/include/* \
 "
 INSANE_SKIP_${PN} += "dev-so"
+INSANE_SKIP_${PN} += "libdir"
+INSANE_SKIP_${PN}-dbg += "libdir"
 
 FILES_${PN}-doc = "\
     ${infodir} \
Signature · 1 line
2.8.1
author
#1 lore raw

Please ignore this patch.

Verified gcc-5.4 and gcc-6.1 and it proves that no same warning exist.

Thanks,
Grace

Quoted 29 lines · On 2016年07月26日 16:22, [email protected] wrote:

WARNING: QA Issue: gcc-cross-canadian-i586-dbg: found library in wrong location:
/PATH/sysroots/x86_64-oesdk-linux/usr/libexec/i586-oe-linux/gcc/ i586-oe-linux/5.2.0/.debug/libcc1.so.0.0.0

This warning is introduced by commit f6e47aa(gcc-target 5.1: fix for libcc1)

(From OE-Core jethro rev: 62c51c4178fb66341498c71c74ce42652568c7fa)

---
  meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 ++
  1 file changed, 2 insertions(+)
meta/recipes-devtools/gcc/gcc-cross-canadian.inc +2 -0
index ec1d281..1286179 100644
@@ -83,6 +83,8 @@ FILES_${PN} = "\
      ${prefix}/${TARGET_SYS}/usr/include/* \
  "
  INSANE_SKIP_${PN} += "dev-so"
+INSANE_SKIP_${PN} += "libdir"
+INSANE_SKIP_${PN}-dbg += "libdir"
 
  FILES_${PN}-doc = "\
      ${infodir} \