Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building netbsd-6 branch on current.



Thanks for this. it works.
I can build a -6 kernel with the following patch (mentioned for the sake
of convenience):

diff --git a/external/gpl3/gcc/dist/gcc/cp/cfns.gperf b/external/gpl3/gcc/dist/gcc/cp/cfns.gperf
index ef1ed08..ba0c487 100644
--- a/external/gpl3/gcc/dist/gcc/cp/cfns.gperf
+++ b/external/gpl3/gcc/dist/gcc/cp/cfns.gperf
@@ -22,6 +22,9 @@ __inline
 static unsigned int hash (const char *, unsigned int);
 #ifdef __GNUC__
 __inline
+#ifdef __GNUC_STDC_INLINE__
+__attribute__ ((__gnu_inline__))
+#endif
 #endif
 const char * libc_name_p (const char *, unsigned int);
 %}
diff --git a/external/gpl3/gcc/dist/gcc/cp/cfns.h b/external/gpl3/gcc/dist/gcc/cp/cfns.h
index 62cdfab..2fb9b46 100644
--- a/external/gpl3/gcc/dist/gcc/cp/cfns.h
+++ b/external/gpl3/gcc/dist/gcc/cp/cfns.h
@@ -53,6 +53,9 @@ __inline
 static unsigned int hash (const char *, unsigned int);
 #ifdef __GNUC__
 __inline
+#ifdef __GNUC_STDC_INLINE__
+__attribute__ ((__gnu_inline__))
+#endif
 #endif
 const char * libc_name_p (const char *, unsigned int);
 /* maximum key range = 391, duplicates = 0 */



Home | Main Index | Thread Index | Old Index