Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87361 Details for
Bug 131779
QA_TEXTRELS support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove processing from misc-functions.sh that's now done in scanelf (2.1), including QA_WX_LOAD support
portage-2.1-svn-3407-qainscanelf-wx_load.patch (text/plain), 1.95 KB, created by
Kevin F. Quinn (RETIRED)
on 2006-05-24 00:15:35 UTC
(
hide
)
Description:
Remove processing from misc-functions.sh that's now done in scanelf (2.1), including QA_WX_LOAD support
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2006-05-24 00:15:35 UTC
Size:
1.95 KB
patch
obsolete
>Index: misc-functions.sh >=================================================================== >--- misc-functions.sh (revision 3407) >+++ misc-functions.sh (working copy) >@@ -94,14 +94,8 @@ > qa_var="QA_TEXTRELS_${ARCH}" > [[ -n ${!qa_var} ]] && QA_TEXTRELS=${!qa_var} > [[ -n ${QA_STRICT_TEXTRELS} ]] && QA_TEXTRELS="" >- f=() >- for s in $(scanelf -qyRF '%t %p' "${D}" | grep -v ' usr/lib/debug/'); do >- [[ ${s} == "TEXTREL" ]] && continue >- for t in ${QA_TEXTRELS}; do >- [[ ${t} == ${s} ]] && continue 2 >- done >- f=( ${f} ${s} ) >- done >+ export QA_TEXTRELS >+ f=$(scanelf -qyRF '"%t %p"' "${D}" | grep -v 'usr/lib/debug/') > if [[ -n ${f} ]] ; then > scanelf -qyRF '%T %p' "${PORTAGE_BUILDDIR}"/ &> "${T}"/scanelf-textrel.log > vecho -ne '\a\n' >@@ -113,13 +107,14 @@ > vecho " For more information, see http://hardened.gentoo.org/pic-fix-guide.xml" > vecho " Please include this file in your report:" > vecho " ${T}/scanelf-textrel.log" >- vecho "${f[@]}" >+ vecho "${f}" > vecho -ne '\a\n' > die_msg="${die_msg} textrels," > sleep 1 > fi > > # Also, executable stacks only matter on linux (and just glibc atm ...) >+ f="" > case ${CTARGET:-${CHOST}} in > *-linux-gnu*) > # Check for files with executable stacks, but only on arches which >@@ -136,16 +131,12 @@ > qa_var="QA_EXECSTACK_${ARCH}" > [[ -n ${!qa_var} ]] && QA_EXECSTACK=${!qa_var} > [[ -n ${QA_STRICT_EXECSTACK} ]] && QA_EXECSTACK="" >- f=$(scanelf -qyRF '%e %p' "${D}" | grep -v ' usr/lib/debug/' | \ >- gawk ' >- BEGIN { split("'"${QA_EXECSTACK}"'", ignore); } >- { for (idx in ignore) >- if ($NF ~ "^"ignore[idx]"$") >- next; >- print; >- }') >+ qa_var="QA_WX_LOAD_${ARCH}" >+ [[ -n ${!qa_var} ]] && QA_WX_LOAD=${!qa_var} >+ [[ -n ${QA_STRICT_EXECSTACK} ]] && QA_WX_LOAD="" >+ export QA_EXECSTACK QA_WX_LOAD >+ f=$(scanelf -qyRF '"%e %p"' "${D}" | grep -v 'usr/lib/debug/') > ;; >- *) f="" ;; > esac > ;; > esac
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 131779
:
85819
|
85820
|
85978
|
85979
|
86077
|
86079
|
86099
|
86124
|
86246
|
86247
|
86248
|
86249
|
86470
|
86474
|
86667
|
86668
|
86696
|
86697
|
86698
|
86699
|
87360
| 87361 |
87405