Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135125843
D31074.id91861.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
655 B
Referenced Files
None
Subscribers
None
D31074.id91861.diff
View Options
Index: lib/libthr/Makefile
===================================================================
--- lib/libthr/Makefile
+++ lib/libthr/Makefile
@@ -29,6 +29,12 @@
CFLAGS.thr_stack.c+= -Wno-cast-align
CFLAGS.rtld_malloc.c+= -Wno-cast-align
CFLAGS.thr_symbols.c+= -Wno-missing-variable-declarations
+.if ${MK_ASAN} != "no"
+# False-positive ASAN error claiming the local "struct sigaction act;" is
+# overflowed by handle_signal() reading from the ucontext_t argument. This
+# could be caused by ASAN not treating this function as a signal handler.
+CFLAGS.thr_sig.c+= -fno-sanitize=address
+.endif
.ifndef NO_THREAD_UNWIND_STACK
CFLAGS+=-fexceptions
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 7, 5:15 PM (12 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25006200
Default Alt Text
D31074.id91861.diff (655 B)
Attached To
Mode
D31074: libthr: work around an ASAN false-positive
Attached
Detach File
Event Timeline
Log In to Comment