Bug 702 - Incorrect error when checking for unsafe configuration
Summary: Incorrect error when checking for unsafe configuration
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 1.0 M4
Assignee: Mark Hatle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-02-08 07:48 UTC by Gary Thomas
Modified: 2011-02-08 10:04 UTC (History)
3 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 Gary Thomas 2011-02-08 07:48:14 UTC
Post configuration QA checks looks for uses of files/data outside the Poky build tree.  In this case, the error
  ERROR: This autoconf log indicates errors, it looked at host includes.
is misleading because it's not an host include file but a library which was incorrectly searched.  From the config.log:
  configure:7139: ccache powerpc-poky-linux-gcc -mcpu=603e  -mhard-float --sysroot=/home/local/my_ppc_poky/tmp/sysroots/my8379 -o conftest -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldlpi -L/lib -lpcap  >&5
  /home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: warning: library search path "/lib" is unsafe for cross-compilation
  /home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: cannot find -ldlpi
  /home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: skipping incompatible /lib/libgcc_s.so.1 when searching for libgcc_s.so.1
  collect2: ld returned 1 exit status