Page MenuHomeFreeBSD

D46271.id141996.diff
No OneTemporary

D46271.id141996.diff

diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -104,6 +104,12 @@
.if ${LINKER_TYPE} == "bfd" && ${LINKER_VERSION} >= 23400
LDFLAGS+= -Wl,--no-dynamic-linker
.endif
+.if ${LINKER_TYPE} == "lld"
+# 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+= -Wl,--threads=1
+.endif
CLEANFILES+= ${LOADER}.efi

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 28, 9:10 AM (21 m, 45 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28064833
Default Alt Text
D46271.id141996.diff (535 B)

Event Timeline