Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 498786 Details for
Bug 455232
sys-apps/portage: update LDFLAGS QA check
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
ldflags.patch (text/plain), 790 bytes, created by
Felix Janda
on 2017-10-15 19:06:25 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2017-10-15 19:06:25 UTC
Size:
790 bytes
patch
obsolete
>diff --git a/bin/install-qa-check.d/10ignored-flags b/bin/install-qa-check.d/10ignored-flags >index 7aa9eb695..f7fc0a2ab 100644 >--- a/bin/install-qa-check.d/10ignored-flags >+++ b/bin/install-qa-check.d/10ignored-flags >@@ -64,9 +64,10 @@ ignored_flag_check() { > fi > > # Check for files built without respecting LDFLAGS >- if [[ "${LDFLAGS}" == *,--hash-style=gnu* ]] && \ >+ if [[ "${LDFLAGS}" == *,--defsym=__gentoo_check_ldflags__* ]] && \ > ! has binchecks ${RESTRICT} ; then >- f=$(scanelf -qyRF '#k%p' -k .hash "${ED}") >+ f=$(comm -3 <(scanelf -qyRF '#k%p' -k .dynsym "${ED}") \ >+ <(scanelf -qyRF '#s%p' -s __gentoo_check_ldflags__ "${ED}")) > if [[ -n ${f} ]] ; then > echo "${f}" > "${T}"/scanelf-ignored-LDFLAGS.log > if [ "${QA_STRICT_FLAGS_IGNORED-unset}" = unset ] ; then
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 455232
:
374182
| 498786