Bug 2296 - Fedora 17 generated meta-toolchain won't work on non-fc17 systems
Summary: Fedora 17 generated meta-toolchain won't work on non-fc17 systems
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard: (1.2)
Depends on:
Blocks:
 
Reported: 2012-04-14 11:28 UTC by Richard Purdie
Modified: 2012-11-12 10:34 UTC (History)
4 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 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.