Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87831 Details for
Bug 133420
New QA warning - detect already stripped binaries in prepstrip
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
prepstrip-log-stripped-take2.patch
prepstrip-log-stripped-take2.patch (text/plain), 979 bytes, created by
Robin Johnson
on 2006-05-29 15:43:23 UTC
(
hide
)
Description:
prepstrip-log-stripped-take2.patch
Filename:
MIME Type:
Creator:
Robin Johnson
Created:
2006-05-29 15:43:23 UTC
Size:
979 bytes
patch
obsolete
>Index: bin/prepstrip >=================================================================== >--- bin/prepstrip (revision 3439) >+++ bin/prepstrip (working copy) >@@ -45,7 +45,18 @@ save_elf_debug() { > fi > } > >-for x in $(scanelf -yRBF%F "$@") $(for y in "$@"; do find "${y}" -type f -name '*.a' -print ; done); do >+# The existance of the section .symtab tells us that a binary is stripped. >+# We want to log already stripped binaries, as this may be a QA violation. >+# They prevent us from getting the splitdebug data. >+f="$(scanelf -yqRBF '#k%F' -k '!.symtab' "$@")" >+if [[ -n "${f}" ]] ; then >+ vecho -e "\n\aQA Notice: pre-stripped files found:\a" >+ vecho "${f}" >+ echo "${f}" > "${T}"/scanelf-already-stripped.log >+fi >+ >+# Now we look for unstripped binaries. >+for x in $(scanelf -yqRBF '#k%F' -k '.symtab' "$@") $(for y in "$@"; do find "${y}" -type f -name '*.a' -print ; done); do > if [[ ${banner} -eq 1 ]] ; then > vecho "strip: ${STRIP} ${PORTAGE_STRIP_FLAGS}" > banner=0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133420
:
86824
| 87831