cmd/go: pkg-config's with "-D_THREAD_SAFE" are unbuildable #25493
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
What version of Go are you using (
go version
)?1.10.2
Does this issue reproduce with the latest release?
yep
What operating system and processor architecture are you using (
go env
)?macOS 10.13.4
What did you do?
Building a package that requires the C implementation of protobuf with cgo and
// #cgo pkg-config: protobuf
. I installed protobuf using Homebrew and protobuf's pc file includes the lineThis seems to be added by the protobuf project's own configure scripts for protobuf 3.5.1. (Current protobuf master fixes this. I suspect it was fixed by the long-lived but only recently merged protocolbuffers/protobuf#1333 patch)
What did you expect to see?
A successful build
What did you see instead?
The text was updated successfully, but these errors were encountered: