Bug 1386 - bitbake meta-toolchain with gcc 4.5.1 doesn't work
Summary: bitbake meta-toolchain with gcc 4.5.1 doesn't work
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard: Will send pull request by Aug. 21st.
Depends on:
Blocks:
 
Reported: 2011-08-18 23:41 UTC by Robert Yang
Modified: 2011-09-14 02:17 UTC (History)
5 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 Robert Yang 2011-08-18 23:41:18 UTC
1) Add the following lines to conf/local.conf:

SDKGCCVERSION="4.5.1"
GCCVERSION="4.5.1"

2) bitbake meta-toolchain

The we will notice the error that sed can't find the directory:

${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR}

we have changed the name from gcc-${PV} to gcc-${PV}-${PR}, but haven't updated
meta/recipes-devtools/gcc/gcc-common.inc
Comment 1 Robert Yang 2011-08-23 23:56:15 UTC
Merged into OE-Core
Comment 2 liang li 2011-08-29 00:22:08 UTC
verified using lastest git branch master.
git info :6c2b7beac3cd23ed44bd3e195c6360a0932876bf
git branch :poky/master.

verified steps:
1. add below lines to conf/local.conf: 
SDKGCCVERSION="4.5.1"
GCCVERSION="4.5.1"
2. bitbake gcc-cross-initial
3. bitbake gcc-crosssdk-initial

no error met using above two commands,and found gcc-4.5.1-r8 in the tmp/work-shared subdir of the build dir.