Description of problem: $ cat /tmp/hello.go package main import ( "fmt" ) func main() { fmt.Println("Hello\n") } $ go.gcc run /tmp/foo.go # command-line-arguments ar: `u' modifier ignored since `D' is the default (see `U') Hello Version-Release number of selected component (if applicable): gcc-go-5.1.1-4.fc22.x86_64 How reproducible: Always Additional info: This appears to be related. https://github.com/golang/go/issues/12310
This is just binutils bug that it has been built in the way to ignore timestamps by default. There is some rhbz on that.
(In reply to Jakub Jelinek from comment #1) > This is just binutils bug that it has been built in the way to ignore > timestamps by default. There is some rhbz on that. This is the one: https://bugzilla.redhat.com/show_bug.cgi?id=1124342 A workaround is to remove the 'u' option from the ar command line. This is the change applied in the issue referenced in comment #1. Note: the binutils rpm can be built without this behaviour enabled by editing the binutils.spec file and changing: %define enable_deterministic_archives 1 to: %define enable_deterministic_archives 0 However deterministic behaviour is required by some packages.
If this is being tracked elsewhere for binutils, I don't mind closing this BZ unless there's any motivation to keep it open.