Bug 384 - perl has host system contamination
Summary: perl has host system contamination
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M3
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-01 11:30 UTC by Mark Hatle
Modified: 2011-01-14 17:43 UTC (History)
6 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 Mark Hatle 2010-10-01 11:30:34 UTC
When building the following output occurs:

WARNING: perl: The compile log indicates that host include and/or library paths were used.  Please check the log '/home/mhatle/git/poky/build/tmp/work/i586-poky-linux/perl-5.8.8-r20/temp/log.do_compile' for more information.

In the referenced log file:

i586-poky-linux-gcc -o libperl.so -shared -L/usr/local/lib perl.o  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o s
v.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp
_sort.o  -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc  -Wl,-soname,libperl.so.5
/home/mhatle/git/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.0/ld: warning: library search path "/usr/local/lib" is unsafe for cross-compilation

and other similar items...
Comment 1 Nitin Kamble 2010-12-14 21:02:43 UTC
I can reproduce this on the latest master branch. Will look into it.
Comment 2 Nitin Kamble 2010-12-27 10:26:14 UTC
I have a fix for this for the perl 5.12.2 recipe.