Stichting-MINIX-Research-Foundation / minix

Official MINIX sources - Automatically replicated from gerrit.minix3.org
Other
2.99k stars 969 forks source link

Building beaglebone gnuinline conflict #187

Open purple-bobby opened 7 years ago

purple-bobby commented 7 years ago

In external/gpl3/gcc/dist/gcc/cp/cfns.h and external/gpl3/gcc/dist/gcc/cp/cfns.gpref the prototype and implementation for const char * libc_name_p (register const char *str, register unsigned int len) at line 57 or 26 and 132 or 101 do not match. I had to add #ifdef __GNUC_STDC_INLINE__ __attribute__ ((__gnu_inline__)) #endif to the prototype

dcvmoole commented 7 years ago

I've run into this as well. We are in the process of replacing gcc with clang/llvm for the ARM port altogether though, so this will become a non-issue (hopefully very) soon. Leaving this open for the time being so that others may find this report and apply your fix locally though!