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

Comments

@rsc
Copy link
Contributor

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 modified the milestones: Go1.10, Go1.11 Jan 31, 2018

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

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.

@griesemer griesemer modified the milestones: Go1.11, Go1.12 Jun 27, 2018

@griesemer

This comment has been minimized.

Copy link
Contributor

commented Oct 17, 2018

@ianlancetaylor Should this be fixable by now?

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

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.

@griesemer griesemer modified the milestones: Go1.12, Unplanned Dec 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.