I added comments on #23749, but sadly the -L -l suggested workaround just makes a bad situation worse. It converts a linktime error into a runtime error. Details in the 23749 comment.
It appears that this CL, that adds the forgotten support for linking against .a files, is what is needed: https://go-review.googlesource.com/c/go/+/92855/1/src/cmd/go/internal/work/security.go But it appears that team is delaying a fix in order to collect a more complete list of flags that should be whitelisted. So for now, it appears that certain CGO projects may well just have to declare go1.9.4 an unsupportable release. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.