cmd/cgo: cgo-related compile errors yield poor error messages #29195
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
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Natively compile a modularized Go project with
CGO_ENABLED=1
on Linux.What did you expect to see?
A descriptive error informing me which
import
-statement in which .go-file caused the problem.What did you see instead?
The following mostly C-related error output, which requires me to debug the issue by selectively removing module dependencies and such until the problem is resolved to get closer to identifying the offending import/include:
While
runtime/cgo
is mentioned, this is certainly not being imported by me directly. Also great would be to report common missing dependencies in case of known failures. (I.e. answer the question "What am I missing which contains the missing file?")The text was updated successfully, but these errors were encountered: