You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: