Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136018317
D22317.id64337.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
440 B
Referenced Files
None
Subscribers
None
D22317.id64337.diff
View Options
Index: head/sys/conf/kmod.mk
===================================================================
--- head/sys/conf/kmod.mk
+++ head/sys/conf/kmod.mk
@@ -169,6 +169,10 @@
.if ${MACHINE_CPUARCH} == powerpc
CFLAGS+= -mlongcall -fno-omit-frame-pointer
+.if ${LINKER_TYPE} == "lld"
+# TOC optimization in LLD (9.0) currently breaks kernel modules, so disable it
+LDFLAGS+= --no-toc-optimize
+.endif
.endif
.if ${MACHINE_CPUARCH} == mips
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 16, 3:22 AM (6 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25335751
Default Alt Text
D22317.id64337.diff (440 B)
Attached To
Mode
D22317: [PowerPC64] Fix broken kernel modules due to LLD 9+ TOC optimization
Attached
Detach File
Event Timeline
Log In to Comment