diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/012477.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-March/012477.html | 101 |
1 files changed, 101 insertions, 0 deletions
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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] executable libraries + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20executable%20libraries&In-Reply-To=%3C4F4FF2AF.303%40mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="012476.html"> + <LINK REL="Next" HREF="012479.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] executable libraries</H1> + <B>Anssi Hannula</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20executable%20libraries&In-Reply-To=%3C4F4FF2AF.303%40mageia.org%3E" + TITLE="[Mageia-dev] executable libraries">anssi at mageia.org + </A><BR> + <I>Thu Mar 1 23:05:35 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="012476.html">[Mageia-dev] executable libraries +</A></li> + <LI>Next message: <A HREF="012479.html">[Mageia-dev] executable libraries +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12477">[ date ]</a> + <a href="thread.html#12477">[ thread ]</a> + <a href="subject.html#12477">[ subject ]</a> + <a href="author.html#12477">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>02.03.2012 00:03, Maarten Vanraes kirjoitti: +><i> Op donderdag 01 maart 2012 22:54:59 schreef Anssi Hannula: +</I>>><i> 01.03.2012 23:36, Pascal Terjan kirjoitti: +</I>>>><i> I would say it doesn't matter and would not spend any time on it +</I>>><i> +</I>>><i> /usr/lib/rpm/mageia/find-debuginfo.sh: +</I>>><i> +</I>>><i> # Strip ELF binaries +</I>>><i> find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*.debug" -type f \ +</I>>><i> \( -perm -0100 -or -perm -0010 -or -perm -0001 \) \ +</I>>><i> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +</I>>><i> -print | +</I>>><i> file -N -f - | sed -n -e 's/^\(.*\):[ ]*.*ELF.*, not stripped/\1/p' | +</I>>><i> xargs --no-run-if-empty stat -c '%h %D_%i %n' | +</I>>><i> while read nlinks inum f; do +</I>>><i> +</I>>><i> +</I>>><i> Looks like debug packages and/or stripping won't work for non-executable +</I>>><i> shared libraries. +</I>><i> +</I>><i> hmm, there's a '!' there, so isn't it reverse then? +</I> +It reverses the -path rule only. + +><i> but if this only works with executable libraries, (kind of weird imho), there +</I>><i> are at least 34 libraries on my system not marked as executable... +</I>><i> +</I>><i> does this mean debug info fails for these? +</I> +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 +</PRE> + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="012476.html">[Mageia-dev] executable libraries +</A></li> + <LI>Next message: <A HREF="012479.html">[Mageia-dev] executable libraries +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12477">[ date ]</a> + <a href="thread.html#12477">[ thread ]</a> + <a href="subject.html#12477">[ subject ]</a> + <a href="author.html#12477">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |