compiling riscv gcc 5.2.0 with gcc 6.x will result in the following error:
cfns.gperf:101:1: error: ‘const char* libc_namep(const char, unsigned int)’ redeclared inline with ‘gnuinline’ attribute
cfns.gperf:26:14: note: ‘const char libc_namep(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
Mainline gcc has already a patch for it.
Apply the patch to toolchain/patches/gcc
compiling riscv gcc 5.2.0 with gcc 6.x will result in the following error:
cfns.gperf:101:1: error: ‘const char* libc_namep(const char, unsigned int)’ redeclared inline with ‘gnuinline’ attribute cfns.gperf:26:14: note: ‘const char libc_namep(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
Mainline gcc has already a patch for it. Apply the patch to toolchain/patches/gcc
Signed-off-by: Jean-Paul Etienne fractalclone@gmail.com