Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

fix issue when compiling toolchain with gcc 6.x#4

Open
fractalclone wants to merge 1 commit intopulp-platform:masterfrom
fractalclone:master
Open

fix issue when compiling toolchain with gcc 6.x#4
fractalclone wants to merge 1 commit intopulp-platform:masterfrom
fractalclone:master

Conversation

@fractalclone
Copy link

compiling riscv gcc 5.2.0 with gcc 6.x will result in the following error:

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

Mainline gcc has already a patch for it.
Apply the patch to toolchain/patches/gcc

Signed-off-by: Jean-Paul Etienne fractalclone@gmail.com

compiling riscv gcc 5.2.0 with gcc 6.x will result in the following error:

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

Mainline gcc has already a patch for it.
Apply the patch to toolchain/patches/gcc

Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant