cmd/go: -buildmode=plugin -linkshared -> build failure #18671
Please answer these questions before submitting your issue. Thanks!
What did you do?
Hello up there. I'm trying to build plugin dynamically linked to other go packages and it fails. Details below:
---- 8< ---- (myplugin.go)
What did you expect to see?
Build succeeds; myplugin.so dynamically links to packages it imports.
What did you see instead?
(for the reference building without
Does this issue reproduce with the latest release (go1.7.4)?
No, there is no plugin support in go1.7 at all:
Possibly related issues:
The text was updated successfully, but these errors were encountered:
Here is what I get today with Go tip (
(and the same even after
Maybe I'm missing something, but I cannot say this issue is fixed.
I'm useing 14c92c5
So, what's wrong with my understanding?
Not sure what it is, but for me your example fails with both gotip and go1.14.3: