Bug 2296

Summary: Fedora 17 generated meta-toolchain won't work on non-fc17 systems
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Richard Purdie <richard.purdie>
Component: meta-yoctoAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: liang.li2, nitin.a.kamble, poky.bs.watcher, poky.watcher
Version: 1.2   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard: (1.2)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Richard Purdie 2012-04-14 11:28:03 UTC
This is purely a guess but I suspect fedora 17 generated meta-toolchain tarballs won't work on non-fc17 systems. This is due to the path "/bin/perl" leaking into scripts like aclocal.
Comment 1 Richard Purdie 2012-04-14 11:30:07 UTC
Regardless, the way the autoconf recipe handles paths needs looking at in the 1.3 timeframe as it appears unsafe for nativesdk targets at this point.
Comment 2 Richard Purdie 2012-04-14 22:21:34 UTC
Assign to saul to test whether this is the case.
Comment 3 Nitin Kamble 2012-04-14 23:00:34 UTC
I think, asking enduser to create a new link /bin/perl pointing to /usr/bin/perl in the documentation would work around the issue.
Comment 4 Richard Purdie 2012-04-17 13:11:47 UTC
Fixed in master with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b6cbf1e48c6ba3a0353f4ee71c43292587210ca5 and preceding patches
Comment 5 liang li 2012-11-12 10:34:01 UTC
verified:
git info:c9de24d3f4845251b01e2eab0aeeb7472badc5bb
git branch: poky/danny

test steps below:
run "bitbake meta-toolchain-gmae" on fedora 17 32bit host to build a ppc toolchain, then install ppc toolchain "poky-eglibc-i686-powerpc-toolchain-gmae-1.3.sh" from build dir's subdir "tmp/deploy/sdk" on hosts ubuntu 12.10 x86_64 and opensuse 12.2 x86_64. then run "runqemu",compile cvs,iptables and sudoku project,run "${CC}" and "${CXX}" to compile a c file and execute to check the function of the ppc toolchain and no errors.