Page MenuHomeFreeBSD

D46271.1796271184.diff
No OneTemporary

Authored By
Unknown
Size
469 B
Referenced Files
None
Subscribers
None

D46271.1796271184.diff

diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -105,6 +105,11 @@
LDFLAGS+= -Wl,--no-dynamic-linker
.endif
+# When lld is using multiple threads, which it does by default, it can
+# result in non-reproducible output with the custom linker script. Work
+# around this by disabling threading.
+LDFLAGS.lld+= -Wl,--threads=1
+
CLEANFILES+= ${LOADER}.efi
${LOADER}.efi: ${PROG}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 3, 4:13 AM (23 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42170898
Default Alt Text
D46271.1796271184.diff (469 B)

Event Timeline