[Bug 233335] install(1) prints warnings for go-built executables: strip: moving loadable section .noptrbss, is this intentional?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 3 19:26:00 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233335

Dmitri Goutnik <dg at syrec.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dg at syrec.org

--- Comment #3 from Dmitri Goutnik <dg at syrec.org> ---
One possible workaround would be to avoid stripping Go-built executables during
install and omit symbol table and debug information during link instead (with
-ldflags="-s -w" go build flag) [1]

For ports that use USES=go this could be done on ports framework level (unless
WITH_DEBUG specified)

[1] https://golang.org/cmd/link/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list