Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145452615
D45891.id140617.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
580 B
Referenced Files
None
Subscribers
None
D45891.id140617.diff
View Options
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -32,6 +32,10 @@
CFLAGS.thr_stack.c+= -Wno-cast-align
CFLAGS.rtld_malloc.c+= -Wno-cast-align
+# Disable compiler builtins so that the compiler does not optimize away rtld's
+# attempts to force early PLT resolution for certain functions that may be
+# replaced by builtins.
+CFLAGS.thr_rtld.c+= -fno-builtin
CFLAGS.thr_symbols.c+= -Wno-missing-variable-declarations
.if ${MK_ASAN} != "no"
# False-positive ASAN error claiming the local "struct sigaction act;" is
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 21, 2:51 AM (9 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28906599
Default Alt Text
D45891.id140617.diff (580 B)
Attached To
Mode
D45891: rtld: actually resolve memcpy plt
Attached
Detach File
Event Timeline
Log In to Comment