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
I have attempted to build gogs from source as outlined here. However, I run into an issue when I attempt to build via the command go build -o gogs which gives me the following output:
# runtime/cgo
cc1: error: command-line option ‘-fno-caret-diagnostics’ is valid for vhdl but not for C [-Werror]
cc1: all warnings being treated as errors
For some context, I have GHDL (an open source simulator for the hardware description language VHDL) built using a GCC backend but that is the only thing that makes any sense as to why this error might occur at all when building any other projects. I don't know if this is a more generic GCC configuration problem that I've caused myself from the original GHDL build process, or something else entirely. Pointers to fix the issue would be much appreciated here. gcc -v gives:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have attempted to build gogs from source as outlined here. However, I run into an issue when I attempt to build via the command
go build -o gogs
which gives me the following output:For some context, I have GHDL (an open source simulator for the hardware description language VHDL) built using a GCC backend but that is the only thing that makes any sense as to why this error might occur at all when building any other projects. I don't know if this is a more generic GCC configuration problem that I've caused myself from the original GHDL build process, or something else entirely. Pointers to fix the issue would be much appreciated here.
gcc -v
gives:Beta Was this translation helpful? Give feedback.
All reactions