Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143201829
D46271.id141996.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
535 B
Referenced Files
None
Subscribers
None
D46271.id141996.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
@@ -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
Details
Attached
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)
Attached To
Mode
D46271: Fix EFI loader reproducibility with lld
Attached
Detach File
Event Timeline
Log In to Comment