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
How does this come up? It sounds like it doesn't happen in the standard build. I don't expect everything in the test directory to work with -linkshared. This could just be working as expected.
How does this come up? It sounds like it doesn't happen in the standard build.
Indeed, I found it when running things with -linkshared in test.
I don't expect everything in the test directory to work with -linkshared.
Surprisingly enough, this is the only spurious failure I see (or saw when I ran this a few weeks back) on any platform that supports -buildmode=shared. (I found some other things but they were real bugs).
This could just be working as expected.
Yeah, I think it's the external linker doing something deliberate but slightly surprising. Skipping nilptr when -linkshared is passed would be a perfectly adequate fix I think.
"go run run.go -linkshared -- nilptr.go" fails with "panic: dummy too far out" but so does "go run -ldflags=-linkmode=external". The test says
but the system linker seems uninclined to put such a large object so low in the address space.
The text was updated successfully, but these errors were encountered: