You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
When building with either GCC version 7.2.0 or 4.9.4, both of which satisfy the requirement of GCC >= 4.8 for C++11 dependencies, I am met with a cascade of build-time errors. Most notably:
/home/user/riscv/riscv-tools/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/guile/scm-ports.c:146:10:` error: ‘scm_new_port_table_entry’ was not declared in this scope
and
/home/user/riscv/riscv-tools/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/guile/scm-ports.c:231:20: error: ‘SCM_PTAB_ENTRY’ was not declared in this scope
The suggested fix is to include --without-guile or --with-guile=no in GDB's configure scripts. My system has guile 2.2.2 installed, which explains the inability to find the missing types. It is likely that installing an earlier version of Guile would also remedy the situation.
This issue is more appropriately listed over at riscv-binutils-gdb and, as such, should likely be closed. However, a temporary fix from this repo can be had by changing this line to:
When building with either GCC version 7.2.0 or 4.9.4, both of which satisfy the requirement of GCC >= 4.8 for C++11 dependencies, I am met with a cascade of build-time errors. Most notably:
and
Host OS: Arch Linux 4.13.7
GCC: 7.2.0
Error Log: builderror_720.log
GCC: 4.9.4
Error Log: builderror_494.log
The text was updated successfully, but these errors were encountered: