From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe backport krogoth PATCH 08/22] ltrace: Error Fix for ARM
Date: Fri, 6 May 2016 16:16:21 +0200 [thread overview]
Message-ID: <20160506141621.GD2544@jama> (raw)
In-Reply-To: <1462543259-7206-8-git-send-email-otavio@ossystems.com.br>
[-- Attachment #1: Type: text/plain, Size: 6842 bytes --]
On Fri, May 06, 2016 at 11:00:45AM -0300, Otavio Salvador wrote:
> From: Li xin <lixin.fnst@cn.fujitsu.com>
>
> 1) The error is as following:
> root # ltrace ls
> __libc_start_main(0xb6fbc018, 1, 0xbed8fdc4, 0xb6fd0b88PTRACE_SINGLESTEP: Input/output error
> 2747 couldn't continue when handling __libc_start_main (0xb6fbbde0) at 0xb6fbbde0
> The master branch fix it.
>
> 2) remove unused patch:
> --0001-ltrace-fix-gcc-5-logical-not-parentheses.patch
> --ltrace-0.7.2-unused-typedef.patch
This still has issue reported here:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-April/107207.html
I would prefer not to backport it to kergoth until it's fixed.
>
> Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
> ...-ltrace-fix-gcc-5-logical-not-parentheses.patch | 38 -----------------
> .../ltrace/ltrace-0.7.2-unused-typedef.patch | 49 ----------------------
> meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 6 +--
> 3 files changed, 2 insertions(+), 91 deletions(-)
> delete mode 100644 meta-oe/recipes-devtools/ltrace/ltrace/0001-ltrace-fix-gcc-5-logical-not-parentheses.patch
> delete mode 100644 meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch
>
> diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-ltrace-fix-gcc-5-logical-not-parentheses.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-ltrace-fix-gcc-5-logical-not-parentheses.patch
> deleted file mode 100644
> index 681c43d..0000000
> --- a/meta-oe/recipes-devtools/ltrace/ltrace/0001-ltrace-fix-gcc-5-logical-not-parentheses.patch
> +++ /dev/null
> @@ -1,38 +0,0 @@
> -From 876fe5680d77800426f8c4c5680a235732d722e6 Mon Sep 17 00:00:00 2001
> -From: Kai Kang <kai.kang@windriver.com>
> -Date: Mon, 24 Aug 2015 17:37:54 +0800
> -Subject: [PATCH] ltrace: fix gcc 5 logical not parentheses
> -
> -Upstream-Status: Pending
> -
> -Build ltrace with gcc 5.2, it fails with:
> -
> -error: logical not is only applied to the left hand side of comparison
> -[-Werror=logical-not-parentheses]
> - if (!need_data(data, offset, SIZE / 8) < 0) \
> - ^
> -
> -Function need_data just return 0 on success and -1 if fail. So it is ok
> -to just test if (need_data(data, offset, SIZE / 8) < 0).
> -
> -Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ----
> - ltrace-elf.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/ltrace-elf.c b/ltrace-elf.c
> -index c571d2a..7fe830f 100644
> ---- a/ltrace-elf.c
> -+++ b/ltrace-elf.c
> -@@ -218,7 +218,7 @@ need_data(Elf_Data *data, GElf_Xword offset, GElf_Xword size)
> - int \
> - NAME(Elf_Data *data, GElf_Xword offset, uint##SIZE##_t *retp) \
> - { \
> -- if (!need_data(data, offset, SIZE / 8) < 0) \
> -+ if (need_data(data, offset, SIZE / 8) < 0) \
> - return -1; \
> - \
> - if (data->d_buf == NULL) /* NODATA section */ { \
> ---
> -1.9.1
> -
> diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch b/meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch
> deleted file mode 100644
> index 8f3c0ec..0000000
> --- a/meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch
> +++ /dev/null
> @@ -1,49 +0,0 @@
> -diff --git a/value.c b/value.c
> -index d18db17..b98298e 100644
> ---- a/value.c
> -+++ b/value.c
> -@@ -1,6 +1,6 @@
> - /*
> - * This file is part of ltrace.
> -- * Copyright (C) 2011,2012 Petr Machata, Red Hat Inc.
> -+ * Copyright (C) 2011,2012,2013 Petr Machata, Red Hat Inc.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> -@@ -282,9 +282,9 @@ value_init_deref(struct value *ret_val, struct value *valp)
> - if (value_extract_word(valp, &l, NULL) < 0)
> - return -1;
> -
> -- /* We need "long" to be long enough to hold platform
> -+ /* We need "long" to be long enough to hold target
> - * pointers. */
> -- typedef char assert__long_enough_long[-(sizeof(l) < sizeof(void *))];
> -+ assert(sizeof(l) >= sizeof(arch_addr_t));
> -
> - value_common_init(ret_val, valp->inferior, valp,
> - valp->type->u.ptr_info.info, 0);
> -diff --git a/lens_default.c b/lens_default.c
> -index ed3d0e1..5d00814 100644
> ---- a/lens_default.c
> -+++ b/lens_default.c
> -@@ -1,6 +1,6 @@
> - /*
> - * This file is part of ltrace.
> -- * Copyright (C) 2011,2012 Petr Machata, Red Hat Inc.
> -+ * Copyright (C) 2011,2012,2013 Petr Machata, Red Hat Inc.
> - * Copyright (C) 1998,2004,2007,2008,2009 Juan Cespedes
> - * Copyright (C) 2006 Ian Wienand
> - * Copyright (C) 2006 Steve Fink
> -@@ -342,9 +342,9 @@ format_array(FILE *stream, struct value *value, struct value_dict *arguments,
> - struct expr_node *length, size_t maxlen, int before,
> - const char *open, const char *close, const char *delim)
> - {
> -- /* We need "long" to be long enough to cover the whole address
> -- * space. */
> -- typedef char assert__long_enough_long[-(sizeof(long) < sizeof(void *))];
> -+ /* We need "long" to be long enough to cover the whole target
> -+ * address space. */
> -+ assert(sizeof(long) >= sizeof(arch_addr_t));
> - long l;
> - if (expr_eval_word(length, value, arguments, &l) < 0)
> - return -1;
> diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
> index bc4e271..19899f9 100644
> --- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
> +++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
> @@ -11,14 +11,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
>
> PE = "1"
> PV = "7.3+git${SRCPV}"
> -SRCREV = "37ecc41b58be3dbdd79592a76e331b5b371e4f81"
> +SRCREV = "01b10e191e99d8cb147e5a2b7da8196e0ec6fb94"
>
> DEPENDS = "elfutils"
> RDEPENDS_${PN} = "elfutils"
> -SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git;branch=ltrace-0.7 \
> - file://ltrace-0.7.2-unused-typedef.patch \
> +SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git;branch=master \
> file://configure-allow-to-disable-selinux-support.patch \
> - file://0001-ltrace-fix-gcc-5-logical-not-parentheses.patch \
> "
> S = "${WORKDIR}/git"
>
> --
> 2.8.2
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2016-05-06 14:14 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 14:00 [meta-oe backport krogoth PATCH 01/22] net-snmp: enable ipv6 support Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 02/22] dovecot: fix QA issue and remove from blacklist Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 03/22] proftpd: CVE-2016-3125 Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 04/22] openconnect: add missing dependencies Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 05/22] rp-pppoe: Fix rootfs creation errors Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 06/22] meta-networking: use bb.utils.contains() instead of base_contains() Otavio Salvador
2016-05-07 17:37 ` akuster808
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 07/22] squid: CVE-2016-3947 Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 08/22] ltrace: Error Fix for ARM Otavio Salvador
2016-05-06 14:16 ` Martin Jansa [this message]
2016-05-06 14:20 ` Otavio Salvador
2016-05-06 14:33 ` Martin Jansa
2016-05-06 15:52 ` akuster808
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 09/22] ltrace: Remove deprecated readdir_r() Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 10/22] fbida: use separate builddir Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 11/22] sblim-sfcb: add missing dependency on unzip-native Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 12/22] syslog-ng.inc: fix prerm script & class includes Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 13/22] sox: dep on ffmpeg, not libav Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 14/22] meta-xfce: add intltool-native to DEPENDS Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 15/22] xfce-polkit: fix warning not able to copy license Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 16/22] fluidsynth: set correct portaudio packageconfig dependency Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 17/22] glmark2: wl_surface should be destoryed after destroying wl_window Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 18/22] packagegroup-tools-bluetooth.bb: Selects the tools appropriate for the version of bluez being used Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 19/22] opencv: Fix metapkg dependencies for opencv-java and opencv-locales Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 20/22] python-pyparsing: modify build to correctly use setuptools rather than distutils Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 21/22] rrdtool: fix do_configure failure on some hosts Otavio Salvador
2016-05-06 14:00 ` [meta-oe backport krogoth PATCH 22/22] toybox: Remove out-of-date patch Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160506141621.GD2544@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox