Port-mips archive

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

Re: IBM Workpad z50 dmesg collection



On Mon, 24 May 2021 at 00:08, matthew green <mrg%eterna.com.au@localhost> wrote:
>
> > Annoyingly 2016-0{1,2,3,4,5,6,7,8}-01 do not
> > directly build for me (I suspect its due to an earlier version of gcc,
> > the upgrade of which could also be the cause of the issue).
>
> try setting HOST_CFLAGS="-O -fcommon".

Turned out to be a __gnu_inline__ issue with libc_name_p - the
following got me a build of current from 2016-01-01

Is there a page on the wiki or similar where notes like this are collected?

David

--- ./external/gpl3/gcc/dist/gcc/cp/cfns.h.orig 2021-05-24
10:46:42.309701010 +0100
+++ ./external/gpl3/gcc/dist/gcc/cp/cfns.h      2021-05-24
10:47:11.101201378 +0100
@@ -53,6 +53,9 @@
 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 */
--- ./external/gpl3/gcc.old/dist/gcc/cp/cfns.h.orig     2021-05-24
10:46:46.051675077 +0100
+++ ./external/gpl3/gcc.old/dist/gcc/cp/cfns.h  2021-05-24
10:47:18.390020034 +0100
@@ -53,6 +53,9 @@
 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