/ go Public
cmd/go: Windows -buildmode=pie fails to execute program that has CGo bindings compiled without PIE #41329
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
It is mentioned in #35192 that people might be interested in weird bugs that pop up using
-buildmode=pieby default so I submitted this.
What version of Go are you using (
Does this issue reproduce with the latest release?
-buildmode=pieis default for Windows in go1.15. The issue does not present if
What operating system and processor architecture are you using (
What did you do?
First I installed portmidi for Windows with these instructions. Then I cloned and ran a test with go1.15.2:
What did you expect to see?
I expected to see that the default
go testworks without any extra build flags, as it did in go1.14.9:
What did you see instead?
Instead I got this runtime error when using go1.15.2
The error can be eliminated only when I include the
The text was updated successfully, but these errors were encountered: