[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_strip --dbg-packages=pkgname uses native objcopy

Hello Raphael, Nikita,

First of all, I have just started working again with the new dpkg-cross
releases, and they seem to be a very big improvement over the previous ones.
(I forgot to state that earlier)

> > > Have some time to work on dpkg-cross at this moment so please
> > > forward them to me. Maybe I can implement a first solution.
> >
> > Maybe a quick stupid hack, but it should do the trick (and solve
> > similar problems, even supporting toolchains with a different naming
> > convention) Export the CROSS_COMPILE prefix and make dh_strip use it
> > as ${CROSS_COMPILE}objcopy. If it is empty (not exported by
> > dpkg-cross) it will use objcopy otherwise the correct one...
> This is not possible because dh_strip is not part of dpkg-cross and we
> do not like to divert debhelper tools for political reasons.

Indeed I forgot that diverting is not the ideal solution..

> An another idear ?
> > The problem should be also solved using binutils-multiarch I guess...
> Old discussion ;)

Yes I also remember this. (That is why I put it last and used ...) I remember
we could not convince the maintainer why it was a bad idea...

I do not know exactly how the strip thing was solved, but thinking of
diversions having a wrapper script for objdump is not what we want either...

I do not know how much work this would be, but what about piping transparantly
all the commands through a script that replaces all the offending commands
with the correct options? The biggest problem to me seems to be actually find
out when the commands are emitted...



| Philippe De Swert
| Stag developer http://stag.mind.be/
| Emdebian developer: http://www.emdebian.org
| Please do not send me documents in a closed
| format.(*.doc,*.xls,*.ppt)
| Use the open alternatives. (*.pdf,*.ps,*.html,*.txt)
| http://www.gnu.org/philosophy/no-word-attachments.html  

NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book. 

Reply to: