From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-March/012477.html | 101 ++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-March/012477.html (limited to 'zarb-ml/mageia-dev/2012-March/012477.html') diff --git a/zarb-ml/mageia-dev/2012-March/012477.html b/zarb-ml/mageia-dev/2012-March/012477.html new file mode 100644 index 000000000..e14817f52 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-March/012477.html @@ -0,0 +1,101 @@ + + + + [Mageia-dev] executable libraries + + + + + + + + + +

[Mageia-dev] executable libraries

+ Anssi Hannula + anssi at mageia.org +
+ Thu Mar 1 23:05:35 CET 2012 +

+
+ +
02.03.2012 00:03, Maarten Vanraes kirjoitti:
+> Op donderdag 01 maart 2012 22:54:59 schreef Anssi Hannula:
+>> 01.03.2012 23:36, Pascal Terjan kirjoitti:
+>>> I would say it doesn't matter and would not spend any time on it
+>>
+>> /usr/lib/rpm/mageia/find-debuginfo.sh:
+>>
+>> # Strip ELF binaries
+>> find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*.debug" -type f \
+>>                      \( -perm -0100 -or -perm -0010 -or -perm -0001 \) \
+>>                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+>>                      -print |
+>> file -N -f - | sed -n -e 's/^\(.*\):[   ]*.*ELF.*, not stripped/\1/p' |
+>> xargs --no-run-if-empty stat -c '%h %D_%i %n' |
+>> while read nlinks inum f; do
+>>
+>>
+>> Looks like debug packages and/or stripping won't work for non-executable
+>> shared libraries.
+> 
+> hmm, there's a '!' there, so isn't it reverse then?
+
+It reverses the -path rule only.
+
+> but if this only works with executable libraries, (kind of weird imho), there 
+> are at least 34 libraries on my system not marked as executable...
+> 
+> does this mean debug info fails for these?
+
+I'm not immediately sure (I never remember how the debug/stripping stuff
+works exactly), but I think either a) debug symbols extraction and thus
+-debug packaging, b) stripping, or c) both will fail with non-executable
+shared libs.
+
+-- 
+Anssi Hannula
+
+ + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1