]> Git Repo - buildroot-mgba.git/commit
toolchain/toolchain-wrapper: explicitly pass --build-id=none if BR2_REPRODUCIBLE
authorAtharva Lele <[email protected]>
Sat, 31 Aug 2019 18:01:12 +0000 (23:31 +0530)
committerThomas Petazzoni <[email protected]>
Sat, 26 Oct 2019 14:56:23 +0000 (16:56 +0200)
commitb285c8014349e8eeaa3a2faa043628840c588096
treee845228c7c4c6b0e9629f61fb374a30ddee83836
parent76b4fcb5dc0eb9f19060a8d7ca9dde087138d62c
toolchain/toolchain-wrapper: explicitly pass --build-id=none if BR2_REPRODUCIBLE

Build ID is added to binaries at link time. Building in different
output directories causes some packages to have different Build IDs,
thus resulting in non-reproducibility.

Adding "-Wl,--build-id=none" fixes this issue by disabling setting of
Build ID.

Diffoscope output for Build ID issue:
https://gitlab.com/snippets/1886180/raw

After this patch, build is reproducible - i.e. diffoscope does not
produce any output.

Signed-off-by: Atharva Lele <[email protected]>
Reviewed-by: Romain Naour <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
toolchain/toolchain-wrapper.mk
This page took 0.032759 seconds and 4 git commands to generate.