-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
debug/gosym: TestPCLine failing on Plan 9 #14536
Comments
|
This is working on GNU/Linux because the linker is being invoked with -E main, and runtime/rt0_linux_amd64.s defines a symbol main, thus ensuring that the INITENTRY symbol gets to be STEXT. plan9 doesn't define main, so the symbol remains SXREF, and the linker balks. I don't know why the test is passing a -E option; it might work fine if it simply didn't do that. The -E option dates back to revision f277ebf in September, 2009, and has simply been carried forward since then. |
Yes, you're right. I propose CL 19973 instead. |
CL https://golang.org/cl/19973 mentions this issue. |
The TestPCLine test is failing on Plan 9:
This failure can only be seen on the plan9/amd64 builder, because this test is only enabled on amd64.
The test runs the following commands:
The Entryvalue function return "entry not text: main", because s.Type is type SXREF instead of STEXT.
In fact, in the libinit function, INITENTRY was set to type SXREF because DynlinkingGo() returns false on Plan 9.
The text was updated successfully, but these errors were encountered: