Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178219593
D46271.1796271184.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
469 B
Referenced Files
None
Subscribers
None
D46271.1796271184.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D46271: Fix EFI loader reproducibility with lld
Attached
Detach File
Event Timeline