All of lore.kernel.org
 help / color / mirror / Atom feed
* meta-linaro woes continue
@ 2011-02-03 23:19 Gary Thomas
  2011-02-04  7:08 ` Darren Hart
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2011-02-03 23:19 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2200 bytes --]

n.b. this is a continuation of "Kernel Panics on armv4t with gcc.4.5.1"
but the actual discussion has changed enough and there was too much
noise in the previous thread.

Trying to use the meta-linaro layer (to solve my problems
with GCC/4.5.1 on armv5te ), I was able to include and use
the layer with the attached changes.  I added this layer
intact, moving meta-linaro into my poky tree at the same
level as meta, meta-extras, etc.

I also had to copy meta/recipes-devtools/gcc/gcc-4.5.1 into
meta-linaro/recipes-devtools/gcc (I didn't know how to expand
the FILESPATH variable to suck from the main meta tree)

The next problem is this:

| configure: WARNING: unrecognized options: --enable-languages, --enable-threads, --enable-target-optspace, --enable-lto, --enable-libssp, --disable-bootstrap, --disable-libgomp, 
--disable-libmudflap, --with-float, --with-local-prefix, --with-sysroot, --with-build-sysroot, --disable-libunwind-exceptions, --enable-__cxa_atexit
| Checking autotools environment for common misconfiguration
| NOTE: Checking autotools environment for common misconfiguration
| This autoconf log indicates errors, it looked at host includes.
| Rerun configure task after fixing this. The path was 
'/home/local/efacec_omap_linaro/tmp/work/armv5te-poky-linux-gnueabi/gcc-runtime-4.5.1.linaro-r0/gcc-4.5.1.linaro/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libstdc++-v3'
| ERROR: This autoconf log indicates errors, it looked at host includes.
| Rerun configure task after fixing this. The path was 
'/home/local/efacec_omap_linaro/tmp/work/armv5te-poky-linux-gnueabi/gcc-runtime-4.5.1.linaro-r0/gcc-4.5.1.linaro/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libstdc++-v3'
| Function 'do_qa_configure' failed
| ERROR: Function 'do_qa_configure' failed
NOTE: package gcc-runtime-4.5.1.linaro-r0: task do_qa_configure: Failed

Ideas?  I'm really anxious to see if this fixes my kernel problems.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: linaro.patch --]
[-- Type: text/plain, Size: 1408 bytes --]

diff --git a/meta-linaro/conf/layer.conf b/meta-linaro/conf/layer.conf
index cce0f43..5c0dc64 100644
--- a/meta-linaro/conf/layer.conf
+++ b/meta-linaro/conf/layer.conf
@@ -5,7 +5,8 @@ RSP_ROOT ?= "sda1"
 BBPATH := "${BBPATH}:${LAYERDIR}"
 
 # We have an images and various recipe-* directories, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/images/*.bb ${LAYERDIR}/images/*.bbappend ${LAYERDIR}/recipes-*/*.bb ${LAYERDIR}/recipes-*/*.bbappend"
+BBFILES := "${BBFILES} ${LAYERDIR}/images/*.bb ${LAYERDIR}/images/*.bbappend \
+            ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 	
 BBFILE_COLLECTIONS += "linaro"
 BBFILE_PATTERN_linaro := "^${LAYERDIR}/"
diff --git a/meta-linaro/recipes-devtools/gcc/gcc-4.5.1.linaro.inc b/meta-linaro/recipes-devtools/gcc/gcc-4.5.1.linaro.inc
index 43f5cd2..f145f85 100644
--- a/meta-linaro/recipes-devtools/gcc/gcc-4.5.1.linaro.inc
+++ b/meta-linaro/recipes-devtools/gcc/gcc-4.5.1.linaro.inc
@@ -49,6 +49,14 @@ SRC_URI = "http://launchpad.net/gcc-linaro/4.5/4.5-2010.11-0/+download/gcc-linar
 	   file://gcc-poison-parameters.patch \
 	  "
 
+ 
+do_move_src() {
+	echo moving ${WORKDIR}/gcc-linaro-4.5-2010.11-1 ${WORKDIR}/gcc-${PV}
+	mv ${WORKDIR}/gcc-linaro-4.5-2010.11-1 ${WORKDIR}/gcc-${PV}
+}
+
 do_unpack_append() {
-	mv gcc-linaro-4.5-2010.11-1 gcc-${PV}
+	bb.build.exec_func('do_move_src', d)
 }
+
+

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-05  0:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 23:19 meta-linaro woes continue Gary Thomas
2011-02-04  7:08 ` Darren Hart
2011-02-04 22:21   ` Darren Hart
2011-02-04 22:29     ` Gary Thomas
2011-02-04 23:54       ` Darren Hart
2011-02-05  0:30         ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.