Created attachment 207998 [details] D21730_D21854.diff v0 Mk/Uses/go.mk: Add linker flags to omit symbol table and debug information unless WITH_DEBUG is defined or port sets its own -ldflags. Bump PORTREVISION of dependent ports to force relinking. Attached is a combined patch of review D21730 and review D21854
Created attachment 208138 [details] D21730_D21854.diff v1 Rebase after ports r513850 and ports r513852
Created attachment 208206 [details] D21730_D21854.diff v2 Rebase after ports r514146
Created attachment 208493 [details] D21730_D21854.diff v3 Rebase on ports r515123
I see this new failure: http://package23.nyi.freebsd.org/data/113i386-default-PR241624/2019-11-03_07h46m26s/logs/vault-1.1.2_1.log
(In reply to Antoine Brodin from comment #4) Hi Antoine, This is a known issue with go on freebsd/386: https://github.com/golang/go/issues/28054, unrelated to this PR.
Committed as ports r517743, ports r517745