cmd/link: some packages don't build with -buildmode=shared #25065
Labels
Milestone
Comments
yunabe
added a commit
to yunabe/gobug25065
that referenced
this issue
May 30, 2018
I created a repository to reproduce this issue with minimum code
|
CC @mwhudson |
Hm my fix for #22998 doesn't seem to fix this. Will need to make some time to dig properly into this. |
If I run
then
If I run
(that is, add the
So it seems that when using |
Change https://golang.org/cl/153297 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.9.5 linux/amd64
go version go1.10.1 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
I tried to install the package
github.com/pebbe/util
in lgo (github.com/yunabe/lgo
). The package installs and works fine as a regular, static package. But lgo tries to build shared packages, and that fails.I don't know what is going on, but this might be a bug in Go with
-buildmode=shared
You can find a detailed description here: yunabe/lgo#57
The text was updated successfully, but these errors were encountered: