Before I ran the build using the go 1.14 Debian package. I tried again with the binary release of go 1.14.6, and got somewhat improved results, but not a complete fix as compared to go build -trimpath. When running gomobile bind -v -target=android -trimpath ., there were still build-path-related diffs in the binary. But running gomobile bind -v -target=android -trimpath -ldflags=-buildid= . seemed to have successfully removed the build-path-related blob. The attached diffoscope output compares those two, all else being equal.