public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/grte] Work around a weird clang link failure
@ 2021-08-27 23:21 Fangrui Song
0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-08-27 23:21 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3f1c409c0a2af792282820e26c07befee22240f5
commit 3f1c409c0a2af792282820e26c07befee22240f5
Author: Stan Shebs <stanshebs@google.com>
Date: Tue Jan 23 09:37:55 2018 -0800
Work around a weird clang link failure
Diff:
---
sysdeps/nptl/gai_misc.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sysdeps/nptl/gai_misc.h b/sysdeps/nptl/gai_misc.h
index 815e6c0dc6..8d8b5a9119 100644
--- a/sysdeps/nptl/gai_misc.h
+++ b/sysdeps/nptl/gai_misc.h
@@ -74,7 +74,11 @@
#define gai_start_notify_thread __gai_start_notify_thread
+/* For some reason, with clang this define causes a linktime failure
+ building libanl.so. */
+#ifndef __clang__
#define gai_create_helper_thread __gai_create_helper_thread
+#endif
extern inline void
__gai_start_notify_thread (void)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-27 23:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27 23:21 [glibc/maskray/grte] Work around a weird clang link failure Fangrui Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).