NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/53709: cannot build evbmips64-eb tools with gcc using clang as host compiler
The following reply was made to PR bin/53709; it has been noted by GNATS.
From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/53709: cannot build evbmips64-eb tools with gcc using clang
as host compiler
Date: Sun, 11 Nov 2018 18:44:10 +0000
So, one way for me to avoid this problem is the following patch:
Index: dist/libcxx/include/__config
===================================================================
RCS file: /cvsroot/src/external/bsd/libc++/dist/libcxx/include/__config,v
retrieving revision 1.1.1.9
diff -u -r1.1.1.9 __config
--- dist/libcxx/include/__config 20 Aug 2015 09:31:48 -0000 1.1.1.9
+++ dist/libcxx/include/__config 11 Nov 2018 18:38:55 -0000
@@ -225,7 +225,7 @@
#endif
#ifndef _LIBCPP_ALWAYS_INLINE
-#define _LIBCPP_ALWAYS_INLINE __attribute__ ((__visibility__("hidden"), __always_inline__))
+#define _LIBCPP_ALWAYS_INLINE __attribute__ ((__always_inline__))
#endif
#if defined(__clang__)
And a standalone case is:
#include <stdio.h>
inline __attribute__ ((__visibility__("hidden"), __always_inline__)) int getc(FILE* __stream) {return 0;}
int main() { return 0; }
Looks like things did get changed in upstream, but the commit messages
talk about something else.
Home |
Main Index |
Thread Index |
Old Index