kumquat-buildroot/toolchain
Atharva Lele b285c80143 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 <itsatharva@gmail.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-10-26 16:56:23 +02:00
..
toolchain toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00
toolchain-buildroot toolchain-buildroot: musl only supports 64bit variant of risc-v 2019-07-30 18:39:31 +02:00
toolchain-external toolchain/toolchain-external: add support for D language 2019-10-25 19:27:44 +02:00
Config.in toolchain: add support for D language 2019-10-25 19:27:44 +02:00
helpers.mk toolchain: generate check-headers program under $(BUILD_DIR) 2019-09-25 22:07:24 +02:00
toolchain-wrapper.c toolchain/wrapper: also dump args it was called with 2019-08-18 00:19:57 +02:00
toolchain-wrapper.mk toolchain/toolchain-wrapper: explicitly pass --build-id=none if BR2_REPRODUCIBLE 2019-10-26 16:56:23 +02:00
toolchain.mk toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00