Skip to contentSkip to conversation

bitbake meta-toolchain with gcc 4.5.1 failed

PATCH Applied Robert Yang 2 participants 3 messages Aug 21, 2011 – Aug 24, 2011

lore
Share & tools
lore
#0 lore raw

cover bitbake meta-toolchain with gcc 4.5.1 failed

* Steps to reproduce the error:
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 had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc would make it work.

The following changes since commit edd8e1e8b974eb3f0f9f66c2207aadf43612350b:

documentation/adt-manual/adt-command.xml: general edits. (2011-08-20 17:52:00 -0700)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/gcc_451
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/gcc_451

Robert Yang (1):
bitbake meta-toolchain with gcc 4.5.1 failed

 meta/recipes-devtools/gcc/gcc-common.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/1 bitbake meta-toolchain with gcc 4.5.1 failed

Fixes bug [YOCTO #1386]

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 had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc would make it work.

---
 meta/recipes-devtools/gcc/gcc-common.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/gcc/gcc-common.inc +1 -1
index 52431fa..f83f4da 100644
@@ -40,7 +40,7 @@ ${GNU_MIRROR}/gcc/	http://gcc.get-software.com/releases/ \n \
 gcclibdir = "${libdir}/gcc"
 BINV = "${PV}"
 #S = "${WORKDIR}/gcc-${PV}"
-S = "${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR}"
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
 B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
 
 # SS means Shared Stamps directory
Signature · 1 line
1.7.1
Applied
#2 lore raw
In reply to Robert Yang
Quoted 27 lines · Robert Yang

* Steps to reproduce the error:
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 had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc would make it work.

The following changes since commit edd8e1e8b974eb3f0f9f66c2207aadf43612350b:

   documentation/adt-manual/adt-command.xml: general edits. (2011-08-20 17:52:00 -0700)

are available in the git repository at:

   git://git.pokylinux.org/poky-contrib robert/gcc_451
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/gcc_451

Robert Yang (1):
bitbake meta-toolchain with gcc 4.5.1 failed

Quoted 9 lines
  meta/recipes-devtools/gcc/gcc-common.inc |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Merged into OE-Core

Thanks
Sau!