Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(501)

Issue 125470043: code review 125470043: compiler: symbol names should have '.' replaced with '_'

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by ash%kambanaria.org
Modified:
10 years, 2 months ago
Reviewers:
minux, iant, axw
CC:
gofrontend-dev_googlegroups.com, mwhudson, ash_kambanaria.org
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : diff -r b9151e911a54a78fca24d633eb30ac1a792ce986 https://code.google.com/p/gofrontend/ #

Patch Set 3 : diff -r b9151e911a54a78fca24d633eb30ac1a792ce986 https://code.google.com/p/gofrontend/ #

Patch Set 4 : diff -r b9151e911a54a78fca24d633eb30ac1a792ce986 https://code.google.com/p/gofrontend/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M go/gogo.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 11
ash%kambanaria.org
Hello gofrontend-dev@googlegroups.com (cc: gofrontend-dev@googlegroups.com, iant@golang.org), I'd like you to review this change to https://code.google.com/p/gofrontend/
10 years, 7 months ago (2014-08-19 08:48:57 UTC) #1
ash%kambanaria.org
Hello gofrontend-dev@googlegroups.com (cc: gofrontend-dev@googlegroups.com, iant@golang.org), Please take another look.
10 years, 7 months ago (2014-08-19 09:06:39 UTC) #2
mwhudson
Having just rediscovered this problem, I would like to report that this patch does indeed ...
10 years, 7 months ago (2014-08-26 04:09:19 UTC) #3
iant
Sorry to leave this so long. Have you signed the CLA as described at http://golang.org/doc/contribute.html#copyright ...
10 years, 6 months ago (2014-09-30 13:46:50 UTC) #4
ash_kambanaria.org
Yes, I have just signed it. Ian, I understand that perhaps you have many other ...
10 years, 6 months ago (2014-10-02 14:29:47 UTC) #5
iant
LGTM Thanks.
10 years, 6 months ago (2014-10-02 17:52:20 UTC) #6
iant
*** Submitted as https://code.google.com/p/gofrontend/source/detail?r=ae56e39c190f *** compiler: symbol names should have '.' replaced with '_' Package ...
10 years, 6 months ago (2014-10-02 17:56:12 UTC) #7
axw
On 2014/10/02 14:29:47, ash_kambanaria.org wrote: > Yes, I have just signed it. > > Ian, ...
10 years, 6 months ago (2014-10-03 08:22:26 UTC) #8
iant
It turns out that this change breaks SWIG (see https://github.com/swig/swig/pull/301#issuecomment-69487603). We need to figure out ...
10 years, 2 months ago (2015-01-12 17:11:21 UTC) #9
minux
On Mon, Jan 12, 2015 at 12:11 PM, <iant@golang.org> wrote: > It turns out that ...
10 years, 2 months ago (2015-01-12 22:23:40 UTC) #10
iant
10 years, 2 months ago (2015-01-12 23:22:49 UTC) #11
The change is wrong, or, rather, incomplete.  It needs to be fixed.  Note that
the fix should apply to the case where -fgo-pkgpath is not used, so it should
not affect most users.

The patch was committed to the 4.9 branch on 2014-10-02.  It is in GCC 4.9.2
only, not in GCC 4.9.0 or 4.9.1.  In particular the go tool always passes
-fgo-pkgpath except when compiling a main package.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b