Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86824 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.patch
prepstrip-log-stripped.patch (text/plain), 1.00 KB, created by
Robin Johnson
on 2006-05-15 14:57:17 UTC
(
hide
)
Description:
prepstrip-log-stripped.patch
Filename:
MIME Type:
Creator:
Robin Johnson
Created:
2006-05-15 14:57:17 UTC
Size:
1.00 KB
patch
obsolete
>--- prepstrip.orig 2006-05-15 14:20:48.000000000 -0700 >+++ prepstrip 2006-05-15 14:45:56.000000000 -0700 >@@ -44,7 +44,21 @@ > fi > } > >-for x in $(scanelf -yRBF%F "$@") $(for y in "$@"; do find "${y}" -type f -name '*.a' -print0 ; 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 >+ echo -ne '\a\n' >+ echo "QA Notice: the following files were already stripped by" >+ echo " package build system. This may hinder debugging." >+ echo "${f}" >+ echo -ne '\a\n' >+ 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' -print0 ; done); do > if [[ ${banner} -eq 1 ]] ; then > echo "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