]> Cypherpunks repositories - gostls13.git/commit
cmd/go: report gcc ld error message when linking fails
authorqmuntal <quimmuntal@gmail.com>
Mon, 3 Feb 2025 20:05:51 +0000 (21:05 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Thu, 6 Feb 2025 17:10:09 +0000 (09:10 -0800)
commit65004c7bf4a1193af7742a6de9bc515c4b07bb75
tree751fa68a3da7535171f69a19dfca755d11c72d6e
parentcd595be6d669af171bc28bdc939cc36785717718
cmd/go: report gcc ld error message when linking fails

The output of the gcc ld command is useful to understand why a package
that uses cgo can't use internal linking. We should log it.

Change-Id: Id524065fc5348be57387f2b67d1e00861f9adf15
Reviewed-on: https://go-review.googlesource.com/c/go/+/646315
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/go/internal/work/exec.go