* [Buildroot] [PATCH 0/1] Fix libthread_db matching
@ 2010-11-26 18:26 Javier Viguera
2010-11-26 18:26 ` [Buildroot] [PATCH 1/1] target-finalize: do not strip libthread_db Javier Viguera
0 siblings, 1 reply; 3+ messages in thread
From: Javier Viguera @ 2010-11-26 18:26 UTC (permalink / raw)
To: buildroot
Following patch fixes a little bug with the matching of libthread_db library so it is not stripped. Testing with two different toolchains (one based on glibc and the other on uclibc) shows that the current expression matches the symbolic link while the corrected one matches the real file.
$ ls -o */*/sys-root/lib/libthread_db.so*
arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/lib/libthread_db.so.1 -> libthread_db-1.0.so
arm-unknown-linux-uclibcgnueabi/arm-unknown-linux-uclibcgnueabi/sys-root/lib/libthread_db.so.1 -> libthread_db-0.9.30.3.so
$ ls -o */*/sys-root/lib/libthread_db*.so
arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/lib/libthread_db-1.0.so
arm-unknown-linux-uclibcgnueabi/arm-unknown-linux-uclibcgnueabi/sys-root/lib/libthread_db-0.9.30.3.so
Javier Viguera (1):
target-finalize: do not strip libthread_db
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
1.7.3.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] target-finalize: do not strip libthread_db
2010-11-26 18:26 [Buildroot] [PATCH 0/1] Fix libthread_db matching Javier Viguera
@ 2010-11-26 18:26 ` Javier Viguera
2010-11-27 20:41 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Javier Viguera @ 2010-11-26 18:26 UTC (permalink / raw)
To: buildroot
Fix previous commit not to strip libthread_db library. In the previous
commit the wildcard was incorrectly matching the symbolic link instead
of the real library file.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 6752aa6..fc165e1 100644
--- a/Makefile
+++ b/Makefile
@@ -418,7 +418,7 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
endif
- find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db.so*' | \
+ find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db*.so' | \
xargs $(STRIPCMD) 2>/dev/null || true
find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \
xargs -r $(STRIPCMD) $(STRIP_STRIP_UNNEEDED)
--
1.7.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] target-finalize: do not strip libthread_db
2010-11-26 18:26 ` [Buildroot] [PATCH 1/1] target-finalize: do not strip libthread_db Javier Viguera
@ 2010-11-27 20:41 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-11-27 20:41 UTC (permalink / raw)
To: buildroot
>>>>> "Javier" == Javier Viguera <javier.viguera@digi.com> writes:
Javier> Fix previous commit not to strip libthread_db library. In the previous
Javier> commit the wildcard was incorrectly matching the symbolic link instead
Javier> of the real library file.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-27 20:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-26 18:26 [Buildroot] [PATCH 0/1] Fix libthread_db matching Javier Viguera
2010-11-26 18:26 ` [Buildroot] [PATCH 1/1] target-finalize: do not strip libthread_db Javier Viguera
2010-11-27 20:41 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox