summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-04-16 13:13:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-16 21:55:47 +0100
commitc04f611aa4bf77867fe78a005d09434226feb62c (patch)
tree2c2844818e7eb7dbdce4625cfa7ae83545487bd4 /meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
parent9e74a1c9cb753a426b55544cc41860edb98e8d33 (diff)
downloadopenembedded-core-c04f611aa4bf77867fe78a005d09434226feb62c.tar.gz
openembedded-core-c04f611aa4bf77867fe78a005d09434226feb62c.tar.bz2
openembedded-core-c04f611aa4bf77867fe78a005d09434226feb62c.zip
linux-yocto/3.8: Makefile: add -grecord-gcc-switches if using -mfentry
Commit a2546fae [ftrace: Add -mfentry to Makefile on function tracer] adds support for using -mfentry when possible, whenever the ftrace CONFIG_FUNCTION_TRACER option is enabled. This unfortunately causes bogus dwarf debuginfo to be generated: gcc Bug 54793 - the location of a formal_parameter is not started from a function entry with -mfentry http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54793 This can be fixed by applying the gcc patch above, which will be present in gcc-4.8, but in the meantime, the problem is currently being worked around in different ways by various tools. One of those tools that we support in Yocto, Systemtap, requires the DW_AT_producer string contain -mfentry, which means that it's assuming record-gcc-switches is also used: SystemTap Bug 15123 - workaround for bad debuginfo for -mfentry http://sourceware.org/bugzilla/show_bug.cgi?id=15123 The lack of -grecord-gcc-switches and therefore a missing -mfentry string in Yocto leads to the following Yocto bug: Bug 4099 - Crosstap script check fails https://bugzilla.yoctoproject.org/show_bug.cgi?id=4099 Which is what this patch intends to fix. It only affects architectures that HAVE_FENTRY when CONFIG_FUNCTION_TRACER is turned on and in any case is just adding to the debuginfo, so there doesn't seem to be much risk to adding it. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb')
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
index 04642a4df0..980229c7f0 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
@@ -8,8 +8,8 @@ LINUX_KERNEL_TYPE = "preempt-rt"
KMETA = "meta"
-SRCREV_machine ?= "0f7d294a9d07713059af345188f9cd4f549b4e77"
-SRCREV_machine_qemuppc ?= "82cdb00523b3f86219706d9f12dc80ff8d1c747a"
+SRCREV_machine ?= "fd5af245e21d80e8700d41c1ecf3fc4b2c3d2e40"
+SRCREV_machine_qemuppc ?= "fa8b702a32cc19e77805d91224d0409f09808c88"
SRCREV_meta ?= "27b63fdbd25ad1a37bacc05f49a205c150d21779"
PR = "${INC_PR}.1"