/ go Public
x/mobile: gomobile bind does not create reproducible builds, ignores -trimpath #40254
Android, iOS, and x/mobile
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
A full setup/build log is here:
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
Ran a build with
gomobile bind -v -target=android -trimpath -ldflags=-buildid= .in both gitlab-ci and a local vagrant/libvirt VM.
What did you expect to see?
Reproducible builds between the two.
What did you see instead?
Diffs between the two builds in 3 of the 4 architectures, including diffs caused by build paths, which
-trimpathis specifically meant to disable. Full diff is here:
The text was updated successfully, but these errors were encountered: