go: plugin: -buildmode=plugin not supported on linux/mips

According to https://golang.org/pkg/plugin/ plugins under Linux should be supported.

What version of Go are you using (go version)?

go version go1.8.3 linux/amd64 go version devel +ac29f30dbb Fri Jul 28 00:29:08 2017 +0000 linux/amd64

What did you do?

GOOS=linux GOARCH=mips ./go build -a -buildmode=plugin main.go

What did you expect to see?

Successfully building mips(32) plugin

What did you see instead?

“-buildmode=plugin not supported on linux/mips”

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 1
  • Comments: 26 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Seems it was not integrated in 1.12 (go1.12.5), is it still work in progress ?

@WK-LLP @paride Both buildmode=c-shared and buildmode=plugin are currently work in progress. I hope they will be ready for 1.12 release.

Are there technical challenges that is preventing this feature to be implemented in mips?

@daixiang0 @bradfitz I’ve just rebased changes for buildmode=c-shared. You can find them here. Also, I have changes for buildmode=pie and buildmode=plugin but they are dependent on c-shared changes so I’m waiting for them to be accepted.

@vstefanovic I’m also curious about plugin support for mips, are there any good news now? thanks a lot~

Hi Julian, well, the news is that @milanknezevic is about to start working on the plugin mode.