[Top][All Lists]

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

Re: [PATCH] Fix for linker build ID in Fedora 8

From: Pavel Roskin
Subject: Re: [PATCH] Fix for linker build ID in Fedora 8
Date: Mon, 26 Nov 2007 08:06:27 -0500

On Mon, 2007-11-26 at 13:54 +0100, Lubomir Kundrak wrote:
> On Mon, 2007-11-26 at 07:35 -0500, Pavel Roskin wrote:

> > The objcopy test exists to detect certain breakage in objcopy.  I'm not
> > sure that testing it in the condition that it only copies .text is
> > sufficient to find the original problem.  Surely, that will need some
> > software archeology.  The test comes from GRUB 1.  Anyway, I'll rather
> > test objcopy under conditions close to those used in the build process.
> To be honest, I'm not completely sure either.

OK, I understand that you also want the test to pass on native x86_64.
I'll try to find more information about the original objcopy problem and
make a fix that addresses both the build ID issue and the x86_64 issue.

> > And what's the build ID for?  Why do we want to keep it?
> It basically makes it possible to match an executable or library with
> its core dump and sources it was compiled for. The latter is achieved by
> placing the sources to build-specific directory.

Fair enough.  I've been helped by Fedora's debuginfo more than once.  

I understand it's OK to strip build ID from anything that is used in the
real boot (whether it's affected by the new objcopy bug or not), as we
want space saving and we cannot debug it in gdb.

Pavel Roskin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]