28 May
2018
28 May
'18
12:35
On 2018-05-28, Silvio Moioli
sorry I don't know what could be wrong, but you may want to try to build with a different version of go, for example go1.9, to see if the issue is in the latest package. I confirm the problem only appears with go 1.10, go 1.9 compiles fine. I really wonder where that "-s" flag comes from and what it means - I can't find any documentation about it, not even for go 1.9. I even looked at sources but I must miss something.
-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). -- Aleksa Sarai Senior Software Engineer (Containers) SUSE Linux GmbH https://www.cyphar.com/