golang/go

cmd/go: support -buildmode=c-shared on openbsd/amd64

Open

#33.896 aperta il 28 ago 2019

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Go (19.008 fork)batch import
FeatureRequestGoCommandNeedsInvestigationOS-OpenBSDcompiler/runtimehelp wanted

Metriche repository

Star
 (133.883 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

OpenBSD/amd64

go build -o libr2pm.so -buildmode=c-shared ./lib
-buildmode=c-shared not supported on openbsd/amd64
gmake: *** [Makefile:20: libr2pm.so] Error 1

See similar (fixed) bug for FreeBSD: https://github.com/golang/go/issues/22078

Guida contributor