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

Issue 19850048: code review 19850048: [release-branch.go1.2] cmd/cgo: stop using -fno-elimina... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by adg
Modified:
10 years, 5 months ago
Reviewers:
dsymonds
CC:
golang-dev
Visibility:
Public.

Description

[release-branch.go1.2] cmd/cgo: stop using -fno-eliminate-unused-debug-types ««« CL 18850043 / 5ef4bf9eb256 cmd/cgo: stop using -fno-eliminate-unused-debug-types This flag was added in January 2010, in CL 181102, to fix issue 497. (Numbers were just shorter back then.) The fix was for OS X machines and the llvm-gcc frontend. In July 2011 we had to change the way we get enum values, because there were no flags available to force Xcode's llvm-gcc to include the enum names and values in DWARF debug output. We now use clang, not llvm-gcc, on OS X machines. Earlier versions of clang printed a warning about not knowing the flag. Newer versions of clang now make that an error. That is: - The flag was added for OS X machines. - The flag is no longer necessary on OS X machines. - The flag now breaks some OS X machines. Remove it. I have run the original program from issue 497 successfully without the flag on both OS X and Linux machines. Fixes issue 6678. R=golang-dev, minux.ma CC=golang-dev https://codereview.appspot.com/18850043 »»»

Patch Set 1 #

Patch Set 2 : diff -r 0655b706babf https://code.google.com/p/go #

Patch Set 3 : diff -r 0655b706babf https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M src/cmd/cgo/gcc.go View 1 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 3
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 5 months ago (2013-11-01 00:22:26 UTC) #1
adg
*** Submitted as https://code.google.com/p/go/source/detail?r=6f62370a69e3 *** [release-branch.go1.2] cmd/cgo: stop using -fno-eliminate-unused-debug-types ««« CL 18850043 / 5ef4bf9eb256 ...
10 years, 5 months ago (2013-11-01 00:22:47 UTC) #2
dsymonds
10 years, 5 months ago (2013-11-01 00:23:12 UTC) #3
LGTM
Sign in to reply to this message.

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