This is the mail archive of the
mailing list for the binutils project.
Re: build id computation
On Tue, Nov 18, Ian Lance Taylor wrote:
> Jan Blunck <firstname.lastname@example.org> writes:
> > Right, but I want to separate and postprocess the debuginfo further. At the
> > same time I want to stick to the advantages of the checksum instead of manual
> > id assignment.
> Perhaps we should introduce a convenient option for objcopy to insert
> a build-id note.
That would be convenient but unrelated to what I want to achieve with this
discussion. Anyway I can prepare a patch for that.
For rpm based distributions there is a tool called debugedit available in
rpm. It was aimed to rewrite the paths in the line number program. Now it is
also recomputing the build id because the line number program changes. I don't
think that this is strictly necessary but I wanted to bring this up and
discuss the way how the checksum is computed in general.
Jan Blunck <email@example.com>