Roll-up some missed requests
Richard,
This rolls up some missed pulls and includes upgrades to lttng and gdb to address a bug fixed upstream.
Sau!
The following changes since commit 7a278238d9b08e0315e92d386282cb488cc0c7b4:
bitbake.conf/powerpc64: Set baselib to 'lib64' for ppc64 (2011-08-05 17:48:23 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/stage
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage
Koen Kooi (2):
gst-plugins: partially sync packaging with OE .dev gtk-icon-cache bbclass: don't assing to global RDEPENDS
Kumar Gala (1):
gcc: use ${base_lib} to match gcc default configuration
Mei Lei (2):
python-native: Fix a compiler finding issue
apr-util: disable pqsql support to avoid configure error
Saul Wold (4):
gdb: Update to 7.3
liburcu: Update to 0.6.4
lttng-ust: Update to 0.15
lttng-control: Update to 0.89
meta/classes/gtk-icon-cache.bbclass | 4 +-
.../gcc/gcc-cross-intermediate.inc | 2 +-
meta/recipes-devtools/gdb/gdb-common.inc | 5 +-
...s-canadian_7.2.bb => gdb-cross-canadian_7.3.bb} | 2 +-
.../gdb/{gdb-cross_7.2.bb => gdb-cross_7.3.bb} | 2 +-
meta/recipes-devtools/gdb/gdb.inc | 2 +-
.../fix_for_build_error_internal_error_call.patch | 20 --------
.../gdb/gdb/gdbserver-cflags-last.diff | 16 ++++---
.../gdb/gdb/kill_arm_map_symbols.patch | 36 +++++++-------
.../gdb/{gdb_7.2.bb => gdb_7.3.bb} | 4 +-
.../python/python-native/unixccompiler.patch | 20 ++++++++
.../recipes-devtools/python/python-native_2.6.6.bb | 3 +-
...lttng-control_0.88.bb => lttng-control_0.89.bb} | 4 +-
.../lttng/lttng-ust/uclibc-sched_getcpu.patch | 50 --------------------
.../lttng/{lttng-ust_0.12.bb => lttng-ust_0.15.bb} | 11 ++---
.../gstreamer/gst-plugins-bad_0.10.21.bb | 2 +-
.../gstreamer/gst-plugins-base_0.10.32.bb | 2 +-
.../gstreamer/gst-plugins-good_0.10.28.bb | 2 +-
.../gstreamer/gst-plugins-package.inc | 34 +++++++++++++
.../gstreamer/gst-plugins-ugly_0.10.17.bb | 2 +-
meta/recipes-multimedia/gstreamer/gst-plugins.inc | 18 +------
meta/recipes-support/apr/apr-util_1.3.12.bb | 3 +-
.../liburcu/{liburcu_0.5.4.bb => liburcu_0.6.4.bb} | 5 +--
23 files changed, 107 insertions(+), 142 deletions(-)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.2.bb => gdb-cross-canadian_7.3.bb} (87%)
rename meta/recipes-devtools/gdb/{gdb-cross_7.2.bb => gdb-cross_7.3.bb} (83%)
delete mode 100644 meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch
rename meta/recipes-devtools/gdb/{gdb_7.2.bb => gdb_7.3.bb} (68%)
create mode 100644 meta/recipes-devtools/python/python-native/unixccompiler.patch
rename meta/recipes-kernel/lttng/{lttng-control_0.88.bb => lttng-control_0.89.bb} (77%)
delete mode 100644 meta/recipes-kernel/lttng/lttng-ust/uclibc-sched_getcpu.patch
rename meta/recipes-kernel/lttng/{lttng-ust_0.12.bb => lttng-ust_0.15.bb} (74%)
create mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
rename meta/recipes-support/liburcu/{liburcu_0.5.4.bb => liburcu_0.6.4.bb} (72%)Signature · 1 line
1.7.3.4
[CONSOLIDATED PULL 1/9] gcc: use ${base_lib} to match gcc default configuration
From: Kumar Gala <[email protected]>
Rather than tweaking MULTILIB_DIRNAMES & MULTILIB_OSDIRNAMES like is done for x86-64 via 64bithack.patch. We can just go with gcc defaults and utilize ${base_lib} for where to find gcc libs.
--- .../gcc/gcc-cross-intermediate.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +1 -1
@@ -34,7 +34,7 @@ do_compile () { do_install () { oe_runmake 'DESTDIR=${D}' install install -d ${D}${target_base_libdir}/ - mv ${D}${exec_prefix}/${TARGET_SYS}/lib/* ${D}${target_base_libdir}/ + mv ${D}${exec_prefix}/${TARGET_SYS}/${baselib}/* ${D}${target_base_libdir}/ # We don't really need this (here shares/ contains man/, info/, locale/). rm -rf ${D}${datadir}/
Signature · 1 line
1.7.3.4
[CONSOLIDATED PULL 2/9] gst-plugins: partially sync packaging with OE .dev
In reply to Saul WoldFrom: Koen Kooi <[email protected]>
Gst-plugins get 2 extra packages:
${PN}-apps: helper apps in ${bindir}
${PN}-meta: meta package that will drag in all plugins, libs and apps ${PN} generates
And all libs are split out and run through debian style renaming if enabled.
The packaging include was split out to be reused by external plugins (e.g. gst-plugin-gl, gst-fluendo-*).
The new package list looks like:
libgstapp-0.10-0_0.10.32-r1_armv7a.ipk
libgstfft-0.10-0_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-videorate_0.10.32-r1_armv7a.ipk
gst-plugins-base-videoscale_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-meta_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-apps_0.10.32-r1_armv7a.ipk
--- .../gstreamer/gst-plugins-bad_0.10.21.bb | 2 +- .../gstreamer/gst-plugins-base_0.10.32.bb | 2 +- .../gstreamer/gst-plugins-good_0.10.28.bb | 2 +- .../gstreamer/gst-plugins-package.inc | 34 ++++++++++++++++++++ .../gstreamer/gst-plugins-ugly_0.10.17.bb | 2 +- meta/recipes-multimedia/gstreamer/gst-plugins.inc | 18 +--------- 6 files changed, 40 insertions(+), 20 deletions(-) create mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb +1 -1
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ DEPENDS += "gst-plugins-base libmusicbrainz tremor librsvg" -PR = "r0" +PR = "r1" inherit gettext
meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb +1 -1
@@ -13,7 +13,7 @@ SRC_URI += " file://gst-plugins-base-tremor.patch" SRC_URI[md5sum] = "2920af2b3162f3d9fbaa7fabc8ed4d38" SRC_URI[sha256sum] = "e9aabfac83f6480896da0686e9c911989f896fbad634821b7771ed84a446172b" -PR = "r0" +PR = "r1" inherit gettext
meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ DEPENDS += "gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \ speex libsoup-2.4" -PR = "r0" +PR = "r1" inherit gettext
meta/recipes-multimedia/gstreamer/gst-plugins-package.inc new file +34 -0
@@ -0,0 +1,34 @@ +LIBV = "0.10" + +python populate_packages_prepend () { + gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) + postinst = bb.data.getVar('plugin_postinst', d, 1) + glibdir = bb.data.expand('${libdir}', d) + + do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) + do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d)) + do_split_packages(d, gst_libdir, 'libgst(.*)\.l?a$', bb.data.expand('${PN}-%s-dev', d), 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d)) + + pn = bb.data.getVar('PN', d, 1) + metapkg = pn + '-meta' + bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) + bb.data.setVar('FILES_' + metapkg, "", d) + blacklist = [ pn + '-locale', pn + '-dev', pn + '-dbg', pn + '-doc' ] + metapkg_rdepends = [] + packages = bb.data.getVar('PACKAGES', d, 1).split() + for pkg in packages[1:]: + if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-static'): + metapkg_rdepends.append(pkg) + bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) + bb.data.setVar('DESCRIPTION_' + metapkg, pn + ' meta package', d) +} + +ALLOW_EMPTY = "1" + +PACKAGES += "${PN}-apps ${PN}-meta" +FILES_${PN}-apps = "${bindir}" + +FILES_${PN} = "${datadir}/gstreamer-${LIBV}" +FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug" + +
meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://gst/mpegstream/gstmpegparse.h;beginline=1;endline=18;md5=ff65467b0c53cdfa98d0684c1bc240a9" DEPENDS += "gst-plugins-base libid3tag libmad mpeg2dec liba52 lame" -PR = "r0" +PR = "r1" inherit gettext
meta/recipes-multimedia/gstreamer/gst-plugins.inc +2 -16
@@ -14,13 +14,6 @@ EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples " acpaths = "-I ${S}/common/m4 -I ${S}/m4" -LIBV = "0.10" -#FILES_${PN} += "${libdir}/gstreamer-${LIBV}/*.so" -#FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/*.la ${libdir}/gstreamer-${LIBV}/*.a" -FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug" - -PACKAGES_DYNAMIC = "${PN}-*" - # orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc, # resulting in /usr/bin/orcc. Force it to use the staged orcc. do_configure_append() {
@@ -29,14 +22,7 @@ do_configure_append() { done } -python populate_packages_prepend () { - gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) - postinst = bb.data.getVar('plugin_postinst', d, 1) +require gst-plugins-package.inc -# Can't package separate debug packages yet -# do_split_packages(d, gst_libdir, '\.debug/libgst(.*)\.so$', bb.data.expand('${PN}-%s-dbg', d), 'GStreamer plugin for %s (with debugging symbols)', recursive=True, extra_depends=bb.data.expand('${PN}-dbg', d), match_path=True) - do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d)) - do_split_packages(d, gst_libdir, 'libgst(.*)\.l?a$', bb.data.expand('${PN}-%s-dev', d), 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d)) -} +PACKAGES_DYNAMIC = "${PN}-*" -ALLOW_EMPTY = "1"
Signature · 1 line
1.7.3.4
[CONSOLIDATED PULL 3/9] python-native: Fix a compiler finding issue
In reply to Saul WoldFrom: Mei Lei <[email protected]>
The CC variable sometimes add option information after compiler name, but python can't get the real compiler name if those information added. Fix this issue by dropping the option information when finding compiler name.
--- .../python/python-native/unixccompiler.patch | 20 ++++++++++++++++++++ .../recipes-devtools/python/python-native_2.6.6.bb | 3 ++- 2 files changed, 22 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-devtools/python/python-native/unixccompiler.patch
meta/recipes-devtools/python/python-native/unixccompiler.patch new file +20 -0
@@ -0,0 +1,20 @@ +Upstream-Status: Inappropriate [embedded specific] + +# The CC variable,sometimes like:"x86_64-poky-linux-gcc -m64 --sysroot=/${TMPDIR}/sysroots/qemux86-64", contains option information. +# This will lead to wrong compiler name "qemux86-64" rather than "x86_64-poky-linux-gcc" when python finding the compiler name. + +#Signed-off-by: Mei Lei <[email protected]> + +diff --git Python-2.6.6/Lib/distutils/unixccompiler.py Python-2.6.6/Lib/distutils/unixccompiler.py +index 6d0b84d..aaf49cb 100644 +--- Python-2.6.6/Lib/distutils/unixccompiler.py ++++ Python-2.6.6/Lib/distutils/unixccompiler.py +@@ -282,7 +282,7 @@ class UnixCCompiler(CCompiler): + # this time, there's no way to determine this information from + # the configuration data stored in the Python installation, so + # we use this hack. +- compiler = os.path.basename(sysconfig.get_config_var("CC")) ++ compiler = os.path.basename(sysconfig.get_config_var("CC").split()[0]) + if sys.platform[:6] == "darwin": + # MacOSX's linker doesn't understand the -R flag at all + return "-L" + dir
meta/recipes-devtools/python/python-native_2.6.6.bb +2 -1
@@ -1,6 +1,6 @@ require python.inc DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native" -PR = "${INC_PR}.2" +PR = "${INC_PR}.3" LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6"
@@ -12,6 +12,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ file://11-distutils-never-modify-shebang-line.patch \ file://12-distutils-prefix-is-inside-staging-area.patch \ file://debug.patch \ + file://unixccompiler.patch \ file://nohostlibs.patch" S = "${WORKDIR}/Python-${PV}"
Signature · 1 line
1.7.3.4
[CONSOLIDATED PULL 4/9] apr-util: disable pqsql support to avoid configure error
In reply to Saul WoldFrom: Mei Lei <[email protected]>
The pqsql config script will check host path and add host paths to compiler and linker options:
adding "-I/usr/include/postgresql" to CPPFLAGS
adding "-L/usr/lib" to LDFLAGS
Disable pqsql support since we didn't use this feature in other recipes.
--- meta/recipes-support/apr/apr-util_1.3.12.bb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
meta/recipes-support/apr/apr-util_1.3.12.bb +2 -1
@@ -7,7 +7,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \ file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42" -PR = "r0" +PR = "r1" SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.gz \ file://configfix.patch \
@@ -18,6 +18,7 @@ SRC_URI[sha256sum] = "815b6fc82950f61050a5e711a7f3c20fd9b6ffcc7a4cacfe9f291fb241 EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ --without-odbc \ + --without-pgsql \ --with-dbm=gdbm \ --with-gdbm=${STAGING_DIR_HOST}${prefix} \ --without-sqlite2 \
Signature · 1 line
1.7.3.4
[CONSOLIDATED PULL 5/9] gtk-icon-cache bbclass: don't assing to global RDEPENDS
In reply to Saul WoldFrom: Koen Kooi <[email protected]>
Only the package with the icons needs it
--- meta/classes/gtk-icon-cache.bbclass | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/classes/gtk-icon-cache.bbclass +2 -2
@@ -37,9 +37,9 @@ python populate_packages_append () { continue bb.note("adding hicolor-icon-theme dependency to %s" % pkg) - rdepends = bb.data.getVar('RDEPENDS', d, 1) + rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1) rdepends += "hicolor-icon-theme" - bb.data.setVar('RDEPENDS', rdepends, d) + bb.data.setVar('RDEPENDS_%s' % pkg, rdepends, d) bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)
Signature · 1 line
1.7.3.4
[CONSOLIDATED PULL 6/9] gdb: Update to 7.3
In reply to Saul WoldThis has one upstream patch removed and a couple rebased
---
meta/recipes-devtools/gdb/gdb-common.inc | 5 ++-
...s-canadian_7.2.bb => gdb-cross-canadian_7.3.bb} | 2 +-
.../gdb/{gdb-cross_7.2.bb => gdb-cross_7.3.bb} | 2 +-
meta/recipes-devtools/gdb/gdb.inc | 2 +-
.../fix_for_build_error_internal_error_call.patch | 20 -----------
.../gdb/gdb/gdbserver-cflags-last.diff | 16 +++++----
.../gdb/gdb/kill_arm_map_symbols.patch | 36 ++++++++++----------
.../gdb/{gdb_7.2.bb => gdb_7.3.bb} | 4 +--
8 files changed, 34 insertions(+), 53 deletions(-)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.2.bb => gdb-cross-canadian_7.3.bb} (87%)
rename meta/recipes-devtools/gdb/{gdb-cross_7.2.bb => gdb-cross_7.3.bb} (83%)
delete mode 100644 meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch
rename meta/recipes-devtools/gdb/{gdb_7.2.bb => gdb_7.3.bb} (68%)meta/recipes-devtools/gdb/gdb-common.inc +3 -2
@@ -2,7 +2,9 @@ DESCRIPTION = "gdb - GNU debugger" HOMEPAGE = "http://www.gnu.org/software/gdb/" LICENSE="GPLv3+" SECTION = "devel" -DEPENDS = "ncurses readline elfutils" +DEPENDS = "ncurses readline elfutils lttng-ust" + +INC_PR = "r2" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
@@ -29,7 +31,6 @@ EXPAT = "--without-expat" EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ --with-curses --disable-multilib --with-system-readline --disable-sim \ ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT} \ - --without-ust \ " GDBPROPREFIX = "--program-prefix=''"
meta/recipes-devtools/gdb/gdb-cross-canadian_7.3.bb renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb +1 -1
@@ -1,7 +1,7 @@ require gdb-common.inc require gdb-cross-canadian.inc -PR = "r1" +PR = "${INC_PR}.0" GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" EXPAT = "--with-expat"
meta/recipes-devtools/gdb/gdb-cross_7.3.bb renamed from meta/recipes-devtools/gdb/gdb-cross_7.2.bb +1 -1
@@ -3,4 +3,4 @@ require gdb-cross.inc SRC_URI += "file://sim-install-6.6.patch;patch=1" EXPAT = "--with-expat" -PR = "r0" +PR = "${INC_PR}.0"
meta/recipes-devtools/gdb/gdb.inc +1 -1
@@ -4,7 +4,7 @@ inherit gettext SRC_URI += "file://kill_arm_map_symbols.patch \ file://gdbserver-cflags-last.diff;striplevel=0 \ - file://fix_for_build_error_internal_error_call.patch " + " #LDFLAGS_append = " -s" #export CFLAGS_append=" -L${STAGING_LIBDIR}"
meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch deleted +0 -20
@@ -1,20 +0,0 @@ -Upstream-Status: Pending - -The prototype of function internall_error has changed. And one place in the code was not synced up with the new prototype, causing build error. This patche fixes that. - -Nitin A Kamble <[email protected]> -2010/11/12 - -Index: gdb-7.2/gdb/gdbserver/linux-i386-ipa.c -=================================================================== ---- gdb-7.2.orig/gdb/gdbserver/linux-i386-ipa.c -+++ gdb-7.2/gdb/gdbserver/linux-i386-ipa.c -@@ -178,7 +178,7 @@ supply_static_tracepoint_registers (stru - } - break; - default: -- internal_error ("unhandled register size: %d", -+ internal_error (__FILE__, __LINE__, "unhandled register size: %d", - i386_st_collect_regmap[i].size); - } - }
meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff +9 -7
@@ -2,16 +2,18 @@ Upstream-Status: Pending Index: gdb/gdbserver/Makefile.in =================================================================== ---- gdb/gdbserver/Makefile.in.orig -+++ gdb/gdbserver/Makefile.in -@@ -89,8 +89,8 @@ WARN_CFLAGS = -Wall +--- gdb/gdbserver/Makefile.in.orig 2011-03-09 23:32:02.000000000 -0800 ++++ gdb/gdbserver/Makefile.in 2011-08-05 21:16:43.592202579 -0700 +@@ -94,10 +94,10 @@ CFLAGS = @CFLAGS@ # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. --INTERNAL_CFLAGS = $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \ -- ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} -+INTERNAL_CFLAGS = $(WARN_CFLAGS) ${GLOBAL_CFLAGS} \ -+ ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CFLAGS} +-INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ ++INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ + ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} + INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) +-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ++INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} # LDFLAGS is specifically reserved for setting from the command line # when running make.
meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch +18 -18
@@ -1,26 +1,26 @@ Upstream-Status: Inappropriate [embedded specific] -Index: gdb-6.3/gdb/arm-tdep.c +Index: gdb-7.3/gdb/arm-tdep.c =================================================================== ---- gdb-6.3.orig/gdb/arm-tdep.c 2004-08-03 02:02:20.000000000 +0000 -+++ gdb-6.3/gdb/arm-tdep.c 2005-11-09 15:13:29.000000000 +0000 -@@ -2491,6 +2491,19 @@ +--- gdb-7.3.orig/gdb/arm-tdep.c 2011-05-17 14:27:01.000000000 -0700 ++++ gdb-7.3/gdb/arm-tdep.c 2011-08-05 22:29:58.784201850 -0700 +@@ -7806,6 +7806,19 @@ static void arm_elf_make_msymbol_special(asymbol *sym, struct minimal_symbol *msym) { + -+ /* FIXME: We want gdb to ignore the ARM ELF mapping symbols when -+ displaying disassembly so we use this horrible hack here to -+ artifically set their address to the highest possible value. -+ This is wrong of course, and it prevents the symbols from being -+ used for their intended purpose - to distinguish between ARM -+ and THUMB code. So we ought to find a better way to do this. */ -+ if (bfd_asymbol_name (sym) -+ && bfd_asymbol_name (sym)[0] == '$' -+ && bfd_asymbol_name (sym)[1] != 0 -+ && bfd_asymbol_name (sym)[2] == 0) -+ SYMBOL_VALUE_ADDRESS(msym) = (CORE_ADDR) 0x7ffffffc; ++ /* FIXME: We want gdb to ignore the ARM ELF mapping symbols when ++ displaying disassembly so we use this horrible hack here to ++ artifically set their address to the highest possible value. ++ This is wrong of course, and it prevents the symbols from being ++ used for their intended purpose - to distinguish between ARM ++ and THUMB code. So we ought to find a better way to do this. */ ++ if (bfd_asymbol_name (sym) ++ && bfd_asymbol_name (sym)[0] == '$' ++ && bfd_asymbol_name (sym)[1] != 0 ++ && bfd_asymbol_name (sym)[2] == 0) ++ SYMBOL_VALUE_ADDRESS(msym) = (CORE_ADDR) 0x7ffffffc; + - /* Thumb symbols are of type STT_LOPROC, (synonymous with - STT_ARM_TFUNC). */ - if (ELF_ST_TYPE (((elf_symbol_type *)sym)->internal_elf_sym.st_info) + if (ARM_SYM_BRANCH_TYPE (&((elf_symbol_type *)sym)->internal_elf_sym) + == ST_BRANCH_TO_THUMB) + MSYMBOL_SET_SPECIAL (msym);
meta/recipes-devtools/gdb/gdb_7.3.bb renamed from meta/recipes-devtools/gdb/gdb_7.2.bb +1 -3
@@ -4,7 +4,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" -PR = "r0" +PR = "${INC_PR}.0" -SRC_URI[md5sum] = "950b766466bee748e554765c86b8b495" -SRC_URI[sha256sum] = "34919cb51334c8149ae36ed086f35e79fe3fa2b2a85b568d7c0edad20cd972d4"
Signature · 1 line
1.7.3.4
Re: [CONSOLIDATED PULL 6/9] gdb: Update to 7.3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines · Saul Wold
This has one upstream patch removed and a couple rebased
Signed-off-by Saul Wold <[email protected]> ---meta/recipes-devtools/gdb/gdb-common.inc | 5 ++- ...s-canadian_7.2.bb => gdb-cross-canadian_7.3.bb} | 2 +- .../gdb/{gdb-cross_7.2.bb => gdb-cross_7.3.bb} | 2 +- meta/recipes-devtools/gdb/gdb.inc | 2 +- .../fix_for_build_error_internal_error_call.patch | 20
Quoted 11 lines
-----------
.../gdb/gdb/gdbserver-cflags-last.diff| 16
+++++----.../gdb/gdb/kill_arm_map_symbols.patch| 36
++++++++++---------- .../gdb/{gdb_7.2.bb => gdb_7.3.bb}
| 4 +-- 8 files changed, 34 insertions(+), 53 deletions(-) rename
meta/recipes-devtools/gdb/{gdb-cross-canadian_7.2.bb => gdb-cross-canadian_7.3.bb} (87%) rename meta/recipes-devtools/gdb/{gdb-cross_7.2.bb => gdb-cross_7.3.bb} (83%) delete mode 100644meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch
rename meta/recipes-devtools/gdb/{gdb_7.2.bb => gdb_7.3.bb} (68%)
Quoted 9 lines
(quoted diff) +0
-0b/meta/recipes-devtools/gdb/gdb-common.inc index 8ec3735..e9a38b6 100644 --- a/meta/recipes-devtools/gdb/gdb-common.inc +++ b/meta/recipes-devtools/gdb/gdb-common.inc @@ -2,7 +2,9 @@ DESCRIPTION = "gdb - GNU debugger" HOMEPAGE = "http://www.gnu.org/software/gdb/" LICENSE="GPLv3+" SECTION = "devel" -DEPENDS = "ncurses readline elfutils" +DEPENDS = "ncurses readline elfutils lttng-ust" + +INC_PR = "r2"
should it be r0 ?
Quoted 9 lines
LIC_FILES_CHKSUM= "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ @@ -29,7 +31,6 @@ EXPAT = "--without-expat"EXTRA_OECONF= "--disable-gdbtk --disable-tui --disable-x \ --with-curses --disable-multilib --with-system-readline --disable-sim \ ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT} \ - --without-ust \ "
could you try to see if it builds on uclibc with ust ?
Quoted 31 lines
GDBPROPREFIX = "--program-prefix=''" diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.3.bb similarity index 87% rename from meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb rename to meta/recipes-devtools/gdb/gdb-cross-canadian_7.3.bb index ca44b3c..58c20c4 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.3.bb @@ -1,7 +1,7 @@ require gdb-common.inc require gdb-cross-canadian.inc
-PR = "r1" +PR = "${INC_PR}.0"
GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" EXPAT = "--with-expat" diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.2.bb b/meta/recipes-devtools/gdb/gdb-cross_7.3.bb similarity index 83% rename from meta/recipes-devtools/gdb/gdb-cross_7.2.bb rename to meta/recipes-devtools/gdb/gdb-cross_7.3.bb index b5a8bea..9c2ed07 100644 --- a/meta/recipes-devtools/gdb/gdb-cross_7.2.bb +++ b/meta/recipes-devtools/gdb/gdb-cross_7.3.bb @@ -3,4 +3,4 @@ require gdb-cross.inc
SRC_URI+= "file://sim-install-6.6.patch;patch=1" EXPAT = "--with-expat"-PR = "r0" +PR = "${INC_PR}.0" diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc index efa3cbf..9f5f34f 100644 --- a/meta/recipes-devtools/gdb/gdb.inc +++ b/meta/recipes-devtools/gdb/gdb.inc @@ -4,7 +4,7 @@ inherit gettext
Quoted 10 lines
SRC_URI+= "file://kill_arm_map_symbols.patch \
file://gdbserver-cflags-last.diff;striplevel=0 \ -
file://fix_for_build_error_internal_error_call.patch " + "
#LDFLAGS_append = " -s" #export CFLAGS_append=" -L${STAGING_LIBDIR}"diff --git
a/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patchb/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch
deleted file mode 100644
Quoted 4 lines
index afb1783..0000000 ---
a/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch
+++ /dev/null
Quoted 94 lines
(quoted diff) +0
-0@@ -1,20 +0,0 @@ -Upstream-Status: Pending - -The prototype offunction
internall_errorhas changed. And one place in the code was not synced up with the new prototype, causing build error. This patche fixes that. - -Nitin A Kamble <[email protected]> -2010/11/12 - -Index:gdb-7.2/gdb/gdbserver/linux-i386-ipa.c
-===================================================================
----gdb-7.2.orig/gdb/gdbserver/linux-i386-ipa.c-+++gdb-7.2/gdb/gdbserver/linux-i386-ipa.c-@@ -178,7 +178,7 @@supply_static_tracepoint_registers(stru - } - break; -
default: --internal_error("unhandled register size: %d", -+internal_error(__FILE__,__LINE__, "unhandled register size: %d", -
i386_st_collect_regmap[i].size); - } - } diff --gita/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diffb/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diffindex 0475a42..8256f17 100644 ---a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff+++b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff@@ -2,16 +2,18 @@ Upstream-Status: PendingIndex: gdb/gdbserver/Makefile.in
===================================================================
---- gdb/gdbserver/Makefile.in.orig -+++ gdb/gdbserver/Makefile.in -@@ -89,8 +89,8 @@WARN_CFLAGS= -Wall +---
gdb/gdbserver/Makefile.in.orig 2011-03-09 23:32:02.000000000 -0800
++++ gdb/gdbserver/Makefile.in 2011-08-05 21:16:43.592202579 -0700
+@@ -94,10 +94,10 @@ CFLAGS = @CFLAGS@#
INTERNAL_CFLAGSis the aggregate of all other *CFLAGS macros. --INTERNAL_CFLAGS = $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \ -- ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} -+INTERNAL_CFLAGS =
$(WARN_CFLAGS) ${GLOBAL_CFLAGS} \ -+ ${PROFILE_CFLAGS}
${INCLUDE_CFLAGS} ${CFLAGS} +-INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ ++INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ + ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} +INTERNAL_WARN_CFLAGS= ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) +-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ++INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS}# LDFLAGS is specifically reserved for setting from the command line
# when running make. diff --git a/meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch b/meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch index c1756f7..9fc45b9 100644 --- a/meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch +++ b/meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch @@ -1,26 +1,26 @@ Upstream-Status: Inappropriate [embedded specific]-Index:
gdb-6.3/gdb/arm-tdep.c+Index:gdb-7.3/gdb/arm-tdep.c
===================================================================
----gdb-6.3.orig/gdb/arm-tdep.c2004-08-03 02:02:20.000000000 +0000
-+++gdb-6.3/gdb/arm-tdep.c2005-11-09 15:13:29.000000000 +0000 -@@
-2491,6 +2491,19 @@ +---gdb-7.3.orig/gdb/arm-tdep.c2011-05-17
14:27:01.000000000 -0700 ++++gdb-7.3/gdb/arm-tdep.c2011-08-05
22:29:58.784201850 -0700 +@@ -7806,6 +7806,19 @@ static void arm_elf_make_msymbol_special(asymbol *sym, structminimal_symbol
*msym) { + -+ /* FIXME: We want gdb to ignore the ARM ELF mapping
symbols when -+ displaying disassembly so we use this horrible
hack here to -+ artifically set their address to the highest
possible value. -+ This is wrong of course, and it prevents the
symbols from being -+ used for their intended purpose - to
distinguish between ARM -+ and THUMB code. So we ought to find
a better way to do this. */ -+ if (bfd_asymbol_name(sym) -+
&&bfd_asymbol_name(sym)[0] == '$' -+ &&bfd_asymbol_name
(sym)[1] != 0 -+ &&bfd_asymbol_name(sym)[2] == 0) -+SYMBOL_VALUE_ADDRESS(msym)= (CORE_ADDR)0x7ffffffc; ++ /* FIXME:
We want gdb to ignore the ARM ELF mapping symbols when ++ displaying
disassembly so we use this horrible hack here to ++ artifically set
their address to the highest possible value. ++ This is wrong of
course, and it prevents the symbols from being ++ used for their
intended purpose - to distinguish between ARM ++ and THUMB code. So
we ought to find a better way to do this. */ ++ if
(bfd_asymbol_name(sym) ++ &&bfd_asymbol_name(sym)[0] == '$' ++ &&bfd_asymbol_name(sym)[1] != 0 ++ &&bfd_asymbol_name(sym)[2] == 0)
++SYMBOL_VALUE_ADDRESS(msym)= (CORE_ADDR)0x7ffffffc; + - /*
Thumb symbols are of typeSTT_LOPROC, (synonymous with -STT_ARM_TFUNC). */ - if (ELF_ST_TYPE(((elf_symbol_type
*)sym)->internal_elf_sym.st_info) + if (ARM_SYM_BRANCH_TYPE
(&((elf_symbol_type *)sym)->internal_elf_sym) + ==ST_BRANCH_TO_THUMB) +MSYMBOL_SET_SPECIAL(msym); diff --git
a/meta/recipes-devtools/gdb/gdb_7.2.bb b/meta/recipes-devtools/gdb/gdb_7.3.bb similarity index 68% rename from meta/recipes-devtools/gdb/gdb_7.2.bb rename to meta/recipes-devtools/gdb/gdb_7.3.bb index 501efb4..5e21858 100644 --- a/meta/recipes-devtools/gdb/gdb_7.2.bb +++ b/meta/recipes-devtools/gdb/gdb_7.3.bb @@ -4,7 +4,5 @@LIC_FILES_CHKSUM= "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" -PR = "r0"meta/recipes-devtools/gdb/gdb_7.3.bb renamed from meta/recipes-devtools/gdb/gdb_7.2.bb +1
-2+PR = "${INC_PR}.0" -SRC_URI[md5sum] = "950b766466bee748e554765c86b8b495" -SRC_URI[sha256sum] =
Quoted 1 line
"
34919cb51334c8149ae36ed086f35e79fe3fa2b2a85b568d7c0edad20cd972d4"
I guess the checksums are missing in new recipes
- --
- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk49QTEACgkQuwUzVZGdMxR8/gCfXEUfIDxcObKgTe7hc0oMKBNU y5IAn1DG6xVbIA/5Ytksqxp47EsZ0OSY
=pAto
-----END PGP SIGNATURE-----
Re: [CONSOLIDATED PULL 6/9] gdb: Update to 7.3
Quoted 25 lines · Khem Raj
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 6 lines · Saul Wold
This has one upstream patch removed and a couple rebased
Signed-off-by Saul Wold<[email protected]> ---meta/recipes-devtools/gdb/gdb-common.inc | 5 ++-
...s-canadian_7.2.bb => gdb-cross-canadian_7.3.bb} | 2 +- .../gdb/{gdb-cross_7.2.bb => gdb-cross_7.3.bb} | 2 +-Quoted 13 lines
meta/recipes-devtools/gdb/gdb.inc | 2 +-
.../fix_for_build_error_internal_error_call.patch| 20
-----------.../gdb/gdb/gdbserver-cflags-last.diff| 16
+++++----.../gdb/gdb/kill_arm_map_symbols.patch| 36
++++++++++---------- .../gdb/{gdb_7.2.bb => gdb_7.3.bb}
| 4 +-- 8 files changed, 34 insertions(+), 53 deletions(-) rename
meta/recipes-devtools/gdb/{gdb-cross-canadian_7.2.bb => gdb-cross-canadian_7.3.bb} (87%) rename meta/recipes-devtools/gdb/{gdb-cross_7.2.bb => gdb-cross_7.3.bb} (83%) delete mode 100644meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patchrename meta/recipes-devtools/gdb/{gdb_7.2.bb => gdb_7.3.bb} (68%)
Quoted 1 line
Quoted 11 lines
Quoted 8 lines
(quoted diff) +0
-0b/meta/recipes-devtools/gdb/gdb-common.inc index 8ec3735..e9a38b6 100644 --- a/meta/recipes-devtools/gdb/gdb-common.inc +++ b/meta/recipes-devtools/gdb/gdb-common.inc @@ -2,7 +2,9 @@ DESCRIPTION = "gdb - GNU debugger" HOMEPAGE = "http://www.gnu.org/software/gdb/" LICENSE="GPLv3+" SECTION = "devel" -DEPENDS = "ncurses readline elfutils" +DEPENDS = "ncurses readline elfutils lttng-ust" + +INC_PR = "r2"
should it be r0 ?
Yes, and no, I changed to INC_PR after already having a regular PR bump
and did not want to change a breakage by dropping back to r0, but yes it could start that way into master.
Sau!
Quoted 171 lines
Quoted 9 lines
LIC_FILES_CHKSUM= "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ @@ -29,7 +31,6 @@ EXPAT = "--without-expat"EXTRA_OECONF= "--disable-gdbtk --disable-tui --disable-x \ --with-curses --disable-multilib --with-system-readline --disable-sim \ ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT} \ - --without-ust \ "could you try to see if it builds on uclibc with ust ?
Quoted 31 lines
GDBPROPREFIX = "--program-prefix=''" diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.3.bb similarity index 87% rename from meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb rename to meta/recipes-devtools/gdb/gdb-cross-canadian_7.3.bb index ca44b3c..58c20c4 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.3.bb @@ -1,7 +1,7 @@ require gdb-common.inc require gdb-cross-canadian.inc
-PR = "r1" +PR = "${INC_PR}.0"
GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" EXPAT = "--with-expat" diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.2.bb b/meta/recipes-devtools/gdb/gdb-cross_7.3.bb similarity index 83% rename from meta/recipes-devtools/gdb/gdb-cross_7.2.bb rename to meta/recipes-devtools/gdb/gdb-cross_7.3.bb index b5a8bea..9c2ed07 100644 --- a/meta/recipes-devtools/gdb/gdb-cross_7.2.bb +++ b/meta/recipes-devtools/gdb/gdb-cross_7.3.bb @@ -3,4 +3,4 @@ require gdb-cross.inc
SRC_URI+= "file://sim-install-6.6.patch;patch=1" EXPAT = "--with-expat"-PR = "r0" +PR = "${INC_PR}.0" diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc index efa3cbf..9f5f34f 100644 --- a/meta/recipes-devtools/gdb/gdb.inc +++ b/meta/recipes-devtools/gdb/gdb.inc @@ -4,7 +4,7 @@ inherit gettext
Quoted 10 lines
SRC_URI+= "file://kill_arm_map_symbols.patch \
file://gdbserver-cflags-last.diff;striplevel=0 \ -
file://fix_for_build_error_internal_error_call.patch " + "
#LDFLAGS_append = " -s" #export CFLAGS_append=" -L${STAGING_LIBDIR}"diff --git
a/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patchb/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patchdeleted file mode 100644
Quoted 4 lines
index afb1783..0000000 ---
a/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch+++
/dev/nullQuoted 94 lines
(quoted diff) +0
-0@@ -1,20 +0,0 @@ -Upstream-Status: Pending - -The prototype offunction
internall_errorhas changed. And one place in the code was not synced up with the new prototype, causing build error. This patche fixes that. - -Nitin A Kamble<[email protected]> -2010/11/12 - -Index:gdb-7.2/gdb/gdbserver/linux-i386-ipa.c
-===================================================================
----gdb-7.2.orig/gdb/gdbserver/linux-i386-ipa.c-+++gdb-7.2/gdb/gdbserver/linux-i386-ipa.c-@@ -178,7 +178,7 @@supply_static_tracepoint_registers(stru - } - break; -
default: --internal_error("unhandled register size: %d", -+internal_error(__FILE__,__LINE__, "unhandled register size: %d", -
i386_st_collect_regmap[i].size); - } - } diff --gita/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diffb/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diffindex 0475a42..8256f17 100644 ---a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff+++b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff@@ -2,16 +2,18 @@ Upstream-Status: PendingIndex: gdb/gdbserver/Makefile.in
===================================================================
---- gdb/gdbserver/Makefile.in.orig -+++ gdb/gdbserver/Makefile.in -@@ -89,8 +89,8 @@WARN_CFLAGS= -Wall +---
gdb/gdbserver/Makefile.in.orig 2011-03-09 23:32:02.000000000 -0800
++++ gdb/gdbserver/Makefile.in 2011-08-05 21:16:43.592202579 -0700
+@@ -94,10 +94,10 @@ CFLAGS = @CFLAGS@#
INTERNAL_CFLAGSis the aggregate of all other *CFLAGS macros. --INTERNAL_CFLAGS = $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \ -- ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} -+INTERNAL_CFLAGS =
$(WARN_CFLAGS) ${GLOBAL_CFLAGS} \ -+ ${PROFILE_CFLAGS}
${INCLUDE_CFLAGS} ${CFLAGS} +-INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ ++INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ + ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} +INTERNAL_WARN_CFLAGS= ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) +-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ++INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS}# LDFLAGS is specifically reserved for setting from the command line
# when running make. diff --git a/meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch b/meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch index c1756f7..9fc45b9 100644 --- a/meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch +++ b/meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch @@ -1,26 +1,26 @@ Upstream-Status: Inappropriate [embedded specific]-Index:
gdb-6.3/gdb/arm-tdep.c+Index:gdb-7.3/gdb/arm-tdep.c
===================================================================
----gdb-6.3.orig/gdb/arm-tdep.c2004-08-03 02:02:20.000000000 +0000
-+++gdb-6.3/gdb/arm-tdep.c2005-11-09 15:13:29.000000000 +0000 -@@
-2491,6 +2491,19 @@ +---gdb-7.3.orig/gdb/arm-tdep.c2011-05-17
14:27:01.000000000 -0700 ++++gdb-7.3/gdb/arm-tdep.c2011-08-05
22:29:58.784201850 -0700 +@@ -7806,6 +7806,19 @@ static void arm_elf_make_msymbol_special(asymbol *sym, structminimal_symbol
*msym) { + -+ /* FIXME: We want gdb to ignore the ARM ELF mapping
symbols when -+ displaying disassembly so we use this horrible
hack here to -+ artifically set their address to the highest
possible value. -+ This is wrong of course, and it prevents the
symbols from being -+ used for their intended purpose - to
distinguish between ARM -+ and THUMB code. So we ought to find
a better way to do this. */ -+ if (bfd_asymbol_name(sym) -+ &&bfd_asymbol_name(sym)[0] == '$' -+&&bfd_asymbol_name(sym)[1] != 0 -+&&bfd_asymbol_name(sym)[2] == 0) -+SYMBOL_VALUE_ADDRESS(msym)= (CORE_ADDR)0x7ffffffc; ++ /* FIXME:
We want gdb to ignore the ARM ELF mapping symbols when ++ displaying
disassembly so we use this horrible hack here to ++ artifically set
their address to the highest possible value. ++ This is wrong of
course, and it prevents the symbols from being ++ used for their
intended purpose - to distinguish between ARM ++ and THUMB code. So
we ought to find a better way to do this. */ ++ if
(bfd_asymbol_name(sym) ++ &&bfd_asymbol_name(sym)[0] == '$' ++ &&bfd_asymbol_name(sym)[1] != 0 ++ &&bfd_asymbol_name(sym)[2] == 0)
++SYMBOL_VALUE_ADDRESS(msym)= (CORE_ADDR)0x7ffffffc; + - /*
Thumb symbols are of typeSTT_LOPROC, (synonymous with -STT_ARM_TFUNC). */ - if (ELF_ST_TYPE(((elf_symbol_type
*)sym)->internal_elf_sym.st_info) + if (ARM_SYM_BRANCH_TYPE
(&((elf_symbol_type *)sym)->internal_elf_sym) + ==ST_BRANCH_TO_THUMB) +MSYMBOL_SET_SPECIAL(msym); diff --git
a/meta/recipes-devtools/gdb/gdb_7.2.bb b/meta/recipes-devtools/gdb/gdb_7.3.bb similarity index 68% rename from meta/recipes-devtools/gdb/gdb_7.2.bb rename to meta/recipes-devtools/gdb/gdb_7.3.bb index 501efb4..5e21858 100644 --- a/meta/recipes-devtools/gdb/gdb_7.2.bb +++ b/meta/recipes-devtools/gdb/gdb_7.3.bb @@ -4,7 +4,5 @@LIC_FILES_CHKSUM= "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" -PR = "r0"meta/recipes-devtools/gdb/gdb_7.3.bb renamed from meta/recipes-devtools/gdb/gdb_7.2.bb +1
-2+PR = "${INC_PR}.0" -SRC_URI[md5sum] = "950b766466bee748e554765c86b8b495" -SRC_URI[sha256sum] =Quoted 1 line
"
34919cb51334c8149ae36ed086f35e79fe3fa2b2a85b568d7c0edad20cd972d4"I guess the checksums are missing in new recipes
- --
- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)iEYEARECAAYFAk49QTEACgkQuwUzVZGdMxR8/gCfXEUfIDxcObKgTe7hc0oMKBNU y5IAn1DG6xVbIA/5Ytksqxp47EsZ0OSY
=pAto
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[CONSOLIDATED PULL 7/9] liburcu: Update to 0.6.4
In reply to Saul Wold---
.../liburcu/{liburcu_0.5.4.bb => liburcu_0.6.4.bb} | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
rename meta/recipes-support/liburcu/{liburcu_0.5.4.bb => liburcu_0.6.4.bb} (72%)meta/recipes-support/liburcu/liburcu_0.6.4.bb renamed from meta/recipes-support/liburcu/liburcu_0.5.4.bb +1 -4
@@ -5,15 +5,12 @@ BUGTRACKER = "n/a" LICENSE = "LGPLv2.1+ & MIT-style" LIC_FILES_CHKSUM = "file://LICENSE;md5=b472dc110d38774921e1d5ccb0065fff \ file://urcu.h;beginline=4;endline=32;md5=4de0d68d3a997643715036d2209ae1d9 \ - file://urcu/uatomic_arch_x86.h;beginline=4;endline=21;md5=220552f72c55b102f2ee35929734ef42" + file://urcu/uatomic/x86.h;beginline=4;endline=21;md5=220552f72c55b102f2ee35929734ef42" PR = "r0" SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2" -SRC_URI[md5sum] = "04147d24749be75200173859839207f7" -SRC_URI[sha256sum] = "02aedbb16c16bd034e246d5c9637a9232be559c66fc2fe4eb28948e234bd89f1" - S = "${WORKDIR}/userspace-rcu-${PV}" CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE" inherit autotools
Signature · 1 line
1.7.3.4
[CONSOLIDATED PULL 9/9] lttng-control: Update to 0.89
In reply to Saul Wold---
...lttng-control_0.88.bb => lttng-control_0.89.bb} | 4 +--
meta/recipes-kernel/lttng/lttng-ust_0.12.bb | 30 --------------------
2 files changed, 1 insertions(+), 33 deletions(-)
rename meta/recipes-kernel/lttng/{lttng-control_0.88.bb => lttng-control_0.89.bb} (77%)
delete mode 100644 meta/recipes-kernel/lttng/lttng-ust_0.12.bbmeta/recipes-kernel/lttng/lttng-control_0.89.bb renamed from meta/recipes-kernel/lttng/lttng-control_0.88.bb +1 -3
@@ -7,12 +7,10 @@ LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" PR = "r0" -LTTDATE = "09242010" +LTTDATE = "05122011" SRC_URI = "http://lttng.org/files/lttng/ltt-control-${PV}-${LTTDATE}.tar.gz" -SRC_URI[md5sum] = "ca81d874352756837518d74c9d1091a7" -SRC_URI[sha256sum] = "89c625a4d1b0823954217df232a31f3cae31de7b6655c0d885a61bece0dfcd88" S = "${WORKDIR}/ltt-control-${PV}-${LTTDATE}"
meta/recipes-kernel/lttng/lttng-ust_0.12.bb deleted +0 -30
@@ -1,30 +0,0 @@ -SUMMARY = "Linux Trace Toolkit Userspace Tracer" -DESCRIPTION = "The LTTng Userspace Tracer (UST) is a library accompanied by a set of tools to trace userspace code" -HOMEPAGE = "http://lttng.org/ust" -BUGTRACKER = "n/a" - -LICENSE = "LGPLv2.1+ & BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \ - file://ustctl/ustctl.c;endline=16;md5=b50c6fa0307175bb1ce0db49d752c03b \ - file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44" - -DEPENDS = "liburcu" - -PR = "r0" - -SRC_URI = "http://lttng.org/files/ust/releases/ust-${PV}.tar.gz \ - file://uclibc-sched_getcpu.patch \ - " - -SRC_URI[md5sum] = "fae6e324a56016658c5b83ec14ba0043" -SRC_URI[sha256sum] = "215b05f47d0c9e3a2934926a7d14fa9c67025db917c3a1f641df40b08314ab0c" - -S = "${WORKDIR}/ust-${PV}" - -inherit autotools - -# Due to liburcu not building on MIPS currently this recipe needs to -# be limited also. -# So here let us first suppport x86/arm/powerpc platforms now. -COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux' -
Signature · 1 line
1.7.3.4
[CONSOLIDATED PULL 8/9] lttng-ust: Update to 0.15
In reply to Saul WoldThis address [YOCTO #1005] which was waiting for upstream updates from the lttng and GDB teams.
--- .../lttng/lttng-ust/uclibc-sched_getcpu.patch | 50 -------------------- meta/recipes-kernel/lttng/lttng-ust_0.15.bb | 27 +++++++++++ 2 files changed, 27 insertions(+), 50 deletions(-) delete mode 100644 meta/recipes-kernel/lttng/lttng-ust/uclibc-sched_getcpu.patch create mode 100644 meta/recipes-kernel/lttng/lttng-ust_0.15.bb
meta/recipes-kernel/lttng/lttng-ust/uclibc-sched_getcpu.patch deleted +0 -50
@@ -1,50 +0,0 @@ -uClibc does not have sched_getcpu() implemented. So we create a wrapper -to getcpu syscall when compiling for uclibc. - -So far execinfo.h does not exist on uclibc but it turns out to be that -this header is not needed even in eglibc case so it can be removed - -Signed-off-by: Khem Raj <[email protected]> - -Upstream-Status: Accepted - -Index: ust-0.12/libust/tracer.h -=================================================================== ---- ust-0.12.orig/libust/tracer.h -+++ ust-0.12/libust/tracer.h -@@ -342,14 +342,22 @@ static __inline__ void ltt_write_trace_h - header->start_freq = trace->start_freq; - header->freq_scale = trace->freq_scale; - } -- -+#ifdef __UCLIBC__ -+#define sched_getcpu(cpu, node, cache) syscall(__NR_getcpu, cpu, node, cache) -+#endif - #ifndef UST_VALGRIND - - static __inline__ int ust_get_cpu(void) - { - int cpu; - -+#ifdef __UCLIBC__ -+ int c, s; -+ s = syscall(__NR_getcpu, &c, NULL, NULL); -+ cpu = (s == -1) ? s : c; -+#else - cpu = sched_getcpu(); -+#endif - if (likely(cpu >= 0)) - return cpu; - /* -Index: ust-0.12/libustcomm/ustcomm.c -=================================================================== ---- ust-0.12.orig/libustcomm/ustcomm.c -+++ ust-0.12/libustcomm/ustcomm.c -@@ -31,7 +31,6 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> --#include <execinfo.h> - - #include "ustcomm.h" - #include "usterr.h"
meta/recipes-kernel/lttng/lttng-ust_0.15.bb new file +27 -0
@@ -0,0 +1,27 @@ +SUMMARY = "Linux Trace Toolkit Userspace Tracer" +DESCRIPTION = "The LTTng Userspace Tracer (UST) is a library accompanied by a set of tools to trace userspace code" +HOMEPAGE = "http://lttng.org/ust" +BUGTRACKER = "n/a" + +LICENSE = "LGPLv2.1+ & BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \ + file://ustctl/ustctl.c;endline=16;md5=b50c6fa0307175bb1ce0db49d752c03b \ + file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44" + +DEPENDS = "liburcu" + +PR = "r2" + +SRC_URI = "http://lttng.org/files/ust/releases/ust-${PV}.tar.gz" + +S = "${WORKDIR}/ust-${PV}" + +inherit autotools + +#EXTRA_OECONF = "ac_cv_lib_urcu_bp_synchronize_rcu_bp=no" + +# Due to liburcu not building on MIPS currently this recipe needs to +# be limited also. +# So here let us first suppport x86/arm/powerpc platforms now. +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux' +
Signature · 1 line
1.7.3.4