In file included from ../.././gcc/cp/except.c:1008:0: cfns.gperf: In function ‘const char* libc_name_p(const char*, unsigned int)’: cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’ previously declared here cfns.gperf: At global scope: cfns.gperf:26:14: warning: inline function ‘const char* libc_name_p(const char*, unsigned int)’ used but never defined GCC version: 6.3.1 System: Fedora 25 GCC configuration: ./configure --prefix=`pwd`../build GCC build command: make -j `nproc`
The bug is on the GCC 4.8 side, so either you need to patch it, or build with -std=gnu++98 - then __GNUC_STDC_INLINE__ will not be defined and it ought to compile fine.
Okay, that works for me. Thanks Jakub.