Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/importer: fix and enable TestFor for gccgo #22500

Open
rsc opened this issue Oct 31, 2017 · 3 comments
Open

go/importer: fix and enable TestFor for gccgo #22500

rsc opened this issue Oct 31, 2017 · 3 comments
Labels
Milestone

Comments

@rsc
Copy link
Contributor

@rsc rsc commented Oct 31, 2017

The go command and gccgo don't get along at the moment. Once they do, importer.TestFor needs to be enabled for gccgo and checked. It may just work.

@rsc rsc added this to the Go1.10 milestone Oct 31, 2017
@ianlancetaylor ianlancetaylor removed this from the Go1.10 milestone Jan 31, 2018
@ianlancetaylor ianlancetaylor added this to the Go1.11 milestone Jan 31, 2018
@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Jan 31, 2018

This is nontrivial at the moment, as the test assumes it can ask for the file for math/big, but the go tool doesn't currently support that for gccgo's standard library.

Loading

@griesemer griesemer removed this from the Go1.11 milestone Jun 27, 2018
@griesemer griesemer added this to the Go1.12 milestone Jun 27, 2018
@griesemer
Copy link
Contributor

@griesemer griesemer commented Oct 17, 2018

@ianlancetaylor Should this be fixable by now?

Loading

@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Oct 17, 2018

There aren't really any plans to ever make this fixable other than changing the test. The current test assumes that it can run go list -f={{context.Compiler}}:{{.Target}} math/big. gccgo doesn't provide the source code for the standard library, so go list doesn't work for standard library packages like math/big.

Loading

@griesemer griesemer removed this from the Go1.12 milestone Dec 5, 2018
@griesemer griesemer added this to the Unplanned milestone Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants