[PATCH] D18055: ELF: Implement --build-id.

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 05:01:45 PST 2016


On 11 March 2016 at 08:59, Ismail Donmez <ismail at i10z.com> wrote:
> Hi,
>
> Since you have to be compatible with other linkers here I don't see a
> way to change the hashing algorithm.

The build-id has to be unique and reproducible, but there's no
requirement to use the same algorithm. In fact, I believe gold skips
padding when calculating the md5 and ld.bfd does not, so even for
otherwise identical output they would produce a different build-id.


More information about the llvm-commits mailing list