[Mageia-dev] executable libraries

Maarten Vanraes alien at rmail.be
Thu Mar 1 23:03:36 CET 2012


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?

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?


More information about the Mageia-dev mailing list