cmd/go: buildmode=c-shared broken /w libmusl #19016
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?1.8rc3, 1.7.5
What operating system and processor architecture are you using (
go env
)?What did you do?
I tried to use a go shared library from a C program on alpine-linux (libmusl).
To reproduce:
the same happens with the
golang:1.7.5-alpine
image. I did not test with older versions.Using gdb I get the following core dump:
What did you expect to see?
I expect the binary to work and print
1+2=3
What did you see instead?
Segmentation fault
The text was updated successfully, but these errors were encountered: