Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Apr 2019 19:25:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233335] install(1) prints warnings for go-built executables: strip: moving loadable section .noptrbss, is this intentional?
Message-ID:  <bug-233335-227-mLFymyXQBi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233335-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

Dmitri Goutnik <dg@syrec.org> changed:

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

--- Comment #3 from Dmitri Goutnik <dg@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233335-227-mLFymyXQBi>