[Bug go/61880] Linking with external functions in C does not work in GO when using gccgo, while it works in gc
ian at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 2 17:57:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61880
--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu Oct 2 17:56:50 2014
New Revision: 215810
URL: https://gcc.gnu.org/viewcvs?rev=215810&root=gcc&view=rev
Log:
PR go/61880
compiler: symbol names should have '.' replaced with '_'
Package and symbol names issued by the cgo tool and compiler
should be the same for the object files to link.
A minimal change to fix only:
https://code.google.com/p/gofrontend/issues/detail?id=36
and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61880
Modified:
trunk/gcc/go/gofrontend/gogo.cc
More information about the Gcc-bugs
mailing list