Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177621 Details for
Bug 252354
=dev-util/git-1.6.0.6 emerge produce i686-pc-linux-gnu-objcopy Invalid operation with CFLAGS=-ggdb and FEATURES=splitdebug
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ensure hardlink files are only processed once when necessary
prepstrip_hardlinks.patch (text/plain), 1.55 KB, created by
Zac Medico
on 2009-01-07 00:45:41 UTC
(
hide
)
Description:
ensure hardlink files are only processed once when necessary
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2009-01-07 00:45:41 UTC
Size:
1.55 KB
patch
obsolete
>Index: bin/prepstrip >=================================================================== >--- bin/prepstrip (revision 12384) >+++ bin/prepstrip (revision 12385) >@@ -30,12 +30,22 @@ > ewarn "be found. This feature will not work unless debugedit is installed!" > fi > >+inode_var_name() { >+ if [[ $USERLAND = BSD ]] ; then >+ stat -f 'INODE_%d_%i' "$1" >+ else >+ stat -c 'INODE_%d_%i' "$1" >+ fi >+} >+ > save_elf_sources() { > hasq installsources ${FEATURES} || return 0 > hasq installsources ${RESTRICT} && return 0 > type -P debugedit >/dev/null || return 0 > > local x=$1 >+ local inode=$(inode_var_name "$x") >+ [[ -n ${!inode} ]] && return 0 > local sources_dir=/usr/src/debug/${CATEGORY}/${PF} > debugedit -b "${WORKDIR}" -d "${sources_dir}" \ > -l "${T}"/debug.sources "${x}" >@@ -60,12 +70,19 @@ > local buildid="$( type -P debugedit >/dev/null && debugedit -i "${x}" )" > > mkdir -p $(dirname "${y}") >- ${OBJCOPY} --only-keep-debug "${x}" "${y}" >- ${OBJCOPY} --add-gnu-debuglink="${y}" "${x}" >- [[ -g ${x} ]] && chmod go-r "${y}" >- [[ -u ${x} ]] && chmod go-r "${y}" >- chmod a-x,o-w "${y}" > >+ local inode=$(inode_var_name "$x") >+ if [[ -n ${!inode} ]] ; then >+ ln "${D}usr/lib/debug/${!inode:${#D}}.debug" "$y" >+ else >+ eval $inode=\"$x\" >+ ${OBJCOPY} --only-keep-debug "${x}" "${y}" >+ ${OBJCOPY} --add-gnu-debuglink="${y}" "${x}" >+ [[ -g ${x} ]] && chmod go-r "${y}" >+ [[ -u ${x} ]] && chmod go-r "${y}" >+ chmod a-x,o-w "${y}" >+ fi >+ > if [[ -n ${buildid} ]] ; then > local buildid_dir="${D}usr/lib/debug/.build-id/${buildid:0:2}" > local buildid_file="${buildid_dir}/${buildid:2}"
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 252354
:
176275
| 177621