[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 18:00:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61880
--- Comment #3 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu Oct 2 18:00:01 2014
New Revision: 215812
URL: https://gcc.gnu.org/viewcvs?rev=215812&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:
branches/gcc-4_9-branch/gcc/go/gofrontend/gogo.cc
More information about the Gcc-bugs
mailing list