Skip to contentSkip to conversation

ltrace: update to current master

PATCH New Vicente Olivert Riera 2 participants 3 messages Jul 3, 2015 – Jul 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 ltrace: update to current master

Lots of fixes have been made to ltrace, including the ones for fixing a build failure for MIPS architecture. Updating to current master will allow us to re-enable this package for MIPS and also remove some upstreamed patches.

At the same time we add a patch made by J?r?me Pouiller to fix a bug introduced by 5ba9e10 ("Split type definitions from the bundled configs into their own files"). Two new configuration files are not installed. Therefore, ltrace fail with messages like :

/usr/share/ltrace/libm.so.conf:333: error: unknown type around 'ldouble erfl(ldouble);

That patch has been sent upstream.

---
v1 -> v2: add J?r?me Pouiller's patch

 .../{0002-arm-plt.patch => 0001-arm-plt.patch}     |    0
 package/ltrace/0001-events.patch                   |   47 -
 package/ltrace/0002-Install-lib-types.conf         |   41 +
 package/ltrace/0003-PPC-fix-PPC32-build.patch      |   31 -
 .../ltrace/0004-xtensa-add-xtensa-support.patch    | 1612 --------------------
 package/ltrace/ltrace.mk                           |    2 +-
 6 files changed, 42 insertions(+), 1691 deletions(-)
 rename package/ltrace/{0002-arm-plt.patch => 0001-arm-plt.patch} (100%)
 delete mode 100644 package/ltrace/0001-events.patch
 create mode 100644 package/ltrace/0002-Install-lib-types.conf
 delete mode 100644 package/ltrace/0003-PPC-fix-PPC32-build.patch
 delete mode 100644 package/ltrace/0004-xtensa-add-xtensa-support.patch
package/ltrace/0001-arm-plt.patch renamed from package/ltrace/0002-arm-plt.patch +0 -0
similarity index 100%
rename from package/ltrace/0002-arm-plt.patch
rename to package/ltrace/0001-arm-plt.patch
package/ltrace/0001-events.patch deleted +0 -47

47 lines not on this page · raw message

package/ltrace/0002-Install-lib-types.conf new file +41 -0

41 lines not on this page · raw message

package/ltrace/0003-PPC-fix-PPC32-build.patch deleted +0 -31
deleted file mode 100644
index 92055c9..0000000
@@ -1,31 +0,0 @@
-From c01c6dc017b5ae2b6de7b690725890642b6bf857 Mon Sep 17 00:00:00 2001
-From: Alexandre Belloni <[email protected]>
-Date: Tue, 29 Jul 2014 11:01:31 +0200
-Subject: [PATCH] PPC: fix PPC32 build
-
-Compilation on PPC32 fails because STACK_FRAME_OVERHEAD is never defined
-in arch.h.
-
-Define it to 112 on that platform to restore the same behaviour as
-before commit eea4ad2cce289753aaa35b4e0258a76d8f8f367c.
-
-Signed-off-by: Alexandre Belloni <[email protected]>
----
- sysdeps/linux-gnu/ppc/arch.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/sysdeps/linux-gnu/ppc/arch.h b/sysdeps/linux-gnu/ppc/arch.h
-index 7918a136b016..d5ad759a755c 100644
---- a/sysdeps/linux-gnu/ppc/arch.h
-+++ b/sysdeps/linux-gnu/ppc/arch.h
-@@ -57,6 +57,7 @@
- #else
- #define BREAKPOINT_VALUE { 0x7f, 0xe0, 0x00, 0x08 }
- #define ARCH_ENDIAN_BIG
-+# define STACK_FRAME_OVERHEAD 112
- # ifndef EF_PPC64_ABI
- # define EF_PPC64_ABI 3
- # endif
--- 
-1.9.1
-
package/ltrace/0004-xtensa-add-xtensa-support.patch deleted +0 -1612

1,612 lines not on this page · raw message

package/ltrace/ltrace.mk +1 -1
index 7f00ce3..8a78a2a 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LTRACE_VERSION = 0896ce554f80afdcba81d9754f6104f863dea803
+LTRACE_VERSION = be0c6870e08a3be43b3a0d210fb8dc7614b1e82f
 LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
 LTRACE_DEPENDENCIES = elfutils
 LTRACE_CONF_OPTS = --disable-werror
Signature · 1 line
2.3.6
#1 lore raw

PATCH v2 2/2 ltrace: enable for mips/mipsel

ltrace was disabled for MIPS due to a build failure on this architecture. Now that problem has been fixed so we can enable this package again.

Related:
http://git.buildroot.net/buildroot/commit/?id=dfaa18af00dfcff71a0159adaafb0880e58fa6a1
http://anonscm.debian.org/cgit/collab-maint/ltrace.git/commit/?id=a8ff0ff2b6e6c229f8a9242828fb47f1a5a78967

---
v1 -> v2: no changes

 package/ltrace/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ltrace/Config.in +1 -1
index af932df..2b42a84 100644
@@ -4,7 +4,7 @@ config BR2_PACKAGE_LTRACE
 	# broken (error: 'struct ltelf' has no member named
 	# 'relplt_count'). Issue reported upstream at
 	# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756764.
-	depends on (BR2_i386 || BR2_arm \
+	depends on (BR2_i386 || BR2_arm || BR2_mips || BR2_mipsel \
 		|| BR2_powerpc || BR2_sparc || BR2_x86_64 || BR2_xtensa)
 	select BR2_PACKAGE_ELFUTILS
 	depends on BR2_USE_WCHAR # elfutils
Signature · 1 line
2.3.6
#2 lore raw

PATCH v2 1/2 ltrace: update to current master

In reply to Vicente Olivert Riera

Dear Vicente Olivert Riera,

Quoted 10 lines · Vicente Olivert Riera

Lots of fixes have been made to ltrace, including the ones for fixing a build failure for MIPS architecture. Updating to current master will allow us to re-enable this package for MIPS and also remove some upstreamed patches.

At the same time we add a patch made by J?r?me Pouiller to fix a bug introduced by 5ba9e10 ("Split type definitions from the bundled configs into their own files"). Two new configuration files are not installed. Therefore, ltrace fail with messages like :

Quoted 8 lines

/usr/share/ltrace/libm.so.conf:333: error: unknown type around 'ldouble erfl(ldouble);

That patch has been sent upstream.

---
v1 -> v2: add J?r?me Pouiller's patch

Both applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com