-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: test failures in TestScript/vendor_complex, TestIssue7573 #26567
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
Comments
FWIW I just tried it again after running |
I'm wondering why the linux longtest builder isn't seeing this. I ran both locally, and they succeed. The second one is skipped because I don't have gccgo installed, though. Perhaps the first one isn't testing anything either. /cc @ianlancetaylor |
I can also reproduce the issue on current Go tip (08ab820). |
@rogpeppe Which version of gccgo do you have installed? I can't recreate this myself using tip gccgo. The error
? Somewhere in your gccgo installation there should be a file |
After some investigation, it seems that this is happening because I have an old gccgo binary installed in /usr/bin. If I run |
Maybe these tests should be skipped if the gccgo version is too old. This is already done with other third-party programs such as |
It's helpful to have some tests of What version of gccgo do you have installed? |
@ianlancetaylor You should be able to reproduce the issue by running these commands:
Here are the results of running your suggested gccgo commands:
I'm not sure exactly what you mean by "in my gccgo installation". dpkg -L prints this, which doesn't seem to include a
|
Credit to @myitcv for the initial version of the docker commands above BTW. |
If gccgo works at all, then there must be a runtime.gox file and, for that matter, a libgo.a or libgo.so file, somewhere. But perhaps gccgo doesn't work at all. Does it? |
No, it doesn't seem to work at all. I must have done |
With the docker script you provided, gccgo does work, but the go tool does not. The problem is that gccgo is looking in a subdirectory |
Ubuntu bug filed at https://bugs.launchpad.net/ubuntu/+source/gcc-6/+bug/1783930 . According to that bug this works with gccgo versions 7 and 8. Since there doesn't seem to be anything to fix in the Go project, closing this issue. |
What version of Go are you using (
go version
)?go1.11beta2
go version devel +c814ac4 Thu Jul 19 21:30:27 2018 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you see instead?
The text was updated successfully, but these errors were encountered: