On 05/28/2018 02:35 PM, Aleksa Sarai wrote:
-s means strip. For a variety of reasons, GNU strip has caused Go binaries to break in the past. However, I'm not sure that -s works with 'go install' (we use it for go build though).
OK, so `-s` is a linker flag (`go tool link`). I still did not figure out why `go install` used to pass this parameter to the linker and since 1.10 that does not happen any more, anyway I suggest we simply use the self-explainatory `-ldflags` flag instead: https://github.com/openSUSE/golang-packaging/pull/20/files Jordi: can you take a look and perhaps merge this? I tested it locally and my build does not fail any more. I suspect a lot of packages are currently affected. Thanks, -- Silvio Moioli SUSE Manager Development Team