1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
freebsd/stand/efi
Dimitry Andric 8a4fd438ef Fix EFI loader reproducibility with lld
When the various loaders under stand/efi are built, the resulting
binaries differ over multiple runs, even if WITH_REPRODUCIBLE_BUILD is
used. This is caused by lld multithreading and the custom linker scripts
for the loaders, and affects the following binaries:

* loader_4th.efi
* loader_4th.sym
* loader_4th.sym.full
* loader_lua.efi
* loader_lua.sym
* loader_lua.sym.full
* loader_simp.efi
* loader_simp.sym
* loader_simp.sym.full

Work around this by disabling lld threading for these binaries.

Reviewed by:	emaste
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D46271

(cherry picked from commit f5ce3f4ef5)
2024-08-15 08:33:40 +02:00
..
boot1 Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
fdt Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
gptboot Remove $FreeBSD$: two-line nroff pattern 2023-08-23 11:43:31 -06:00
include Remove $FreeBSD$: one-line .c comment pattern 2023-08-23 11:43:23 -06:00
libefi Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
loader Fix EFI loader reproducibility with lld 2024-08-15 08:33:40 +02:00
loader_4th Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
loader_lua Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
loader_simp Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00