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
What steps will reproduce the problem?
GC=gccgo go build sg.go
What is the expected output?
makes it to the link step with 6g
What do you see instead?
compile errors with gccgo:
_cgo_defun.c:36:1: error: unknown type name ‘byte’
_cgo_defun.c:37:1: error: stray ‘\302’ in program
_cgo_defun.c:37:1: error: stray ‘\267’ in program
Which compiler are you using (5g, 6g, 8g, gccgo)?
gccgo
Which operating system are you using?
linux
Which revision are you using? (hg identify)
gccgo (GCC) 4.7.0 20120302
commit f2b34014d56c08d8fa5d93a2329e92046215de6d
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184877
138bc75d-0d04-0410-961f-82ee72b054a4
Please provide any additional information below.
The problematic lines in _cgo_defun.c:
extern byte *sg_lib_version_str;
void *·_Cvar_sg_lib_version_str = &sg_lib_version_str;
Attachments:
The text was updated successfully, but these errors were encountered: