Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 133420 | Differences between
and this patch

Collapse All | Expand All

(-)bin/prepstrip (-1 / +12 lines)
Lines 45-51 save_elf_debug() { Link Here
45
	fi
45
	fi
46
}
46
}
47
47
48
for x in $(scanelf -yRBF%F "$@") $(for y in "$@"; do find "${y}" -type f -name '*.a' -print ; done); do
48
# The existance of the section .symtab tells us that a binary is stripped.
49
# We want to log already stripped binaries, as this may be a QA violation.
50
# They prevent us from getting the splitdebug data.
51
f="$(scanelf -yqRBF '#k%F' -k '!.symtab' "$@")"
52
if [[ -n "${f}" ]] ; then
53
	vecho -e "\n\aQA Notice: pre-stripped files found:\a"
54
	vecho "${f}"
55
	echo "${f}" > "${T}"/scanelf-already-stripped.log
56
fi
57
58
# Now we look for unstripped binaries.
59
for x in $(scanelf -yqRBF '#k%F' -k '.symtab' "$@") $(for y in "$@"; do find "${y}" -type f -name '*.a' -print ; done); do
49
	if [[ ${banner} -eq 1 ]] ; then
60
	if [[ ${banner} -eq 1 ]] ; then
50
		vecho "strip: ${STRIP} ${PORTAGE_STRIP_FLAGS}"
61
		vecho "strip: ${STRIP} ${PORTAGE_STRIP_FLAGS}"
51
		banner=0
62
		banner=0

Return to bug 133420