List Archive: gentoo-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On Fri, 2004-04-02 at 13:43, Paul de Vrieze wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On Friday 02 April 2004 13:35, Olivier Crête wrote:
> > Hi,
> > I actually have a patch (in bug #45756) that does the job.. But there
> > are two problems which have thus far prevented me from pushing more on
> > this, first I experience bizarre brokenness with gdb 6.x (#45756)..
> > And second, binutils<220.127.116.11.8 only copies the debug section, but
> > not the symbols into the debug file. So using the currently stable
> > binutils, we have to use strip -g (and it procudes empty .debug files
> > if -g is not in the cflags) so its not that useful without using the
> > ~arch binutils (and being able to fully strip the executables).
> I've got gdb-6, but have not actually used it. That it only works with
> testing for now is not a big problem for me.
> > Also, I'd like to try to see if we could have a features where the
> > sources are kept for reference like redhat/fedora does with its
> > -debuginfo rpms. I'll check how redhat does it and if we can do
> > something similar when I come back from my vacation...
> Basically it would require that the sources are not removed
> from /var/tmp/portage, and that users actually get read access to this
Redhat does it more intelligently.. They have a little program called
debugedit (part of the rpm package) that pulls the list of the relevant
files and edits the debug info inside the elf files to point them to
/usr/src/debug/.. instead of to the build directory. That allows them
only keep the relevant sources and not all of the intermediary files.
Their little program only depends on popt and libelf, so I guess it
could be included in portage. I'll try to see if I can modify my patch
to use that. =20
While I'm at it.. redhat uses eu-strip (also included in binutils)
instead of objcopy/strip... using eu-strip would allow us to have it
working right now, but will break when it is removed from binutils..
signature.asc (This is a digitally signed message part)