[Docker-maint] Bug#823014: [pkg-golang-devel] Bug#823014: Bug#823014: golang: Package compiled stdlib for PIE build mode

Tianon Gravi tianon at debian.org
Fri Jul 15 23:04:26 UTC 2016

On 14 July 2016 at 10:12, Peter Colberg <peter at colberg.org> wrote:
> Tianon, can this be merged into golang-1.6 and golang-1.7?

Yeah, overall I'm +1 on the idea! (especially since Michael thinks it's sane)

I have a few questions about the patch:

- the "Build-Profiles" bits -- I know we should be using
build-profiles more intelligently throughout src:golang-X.Y, but is
there something specific to PIE itself that makes it more
necessary/appropriate than in the normal case?

- "golang-X.Y-go.install" currently has "pkg/*_*
/usr/lib/go-X.Y/pkg/", which will still match
"pkg/linux_amd64_shared", and thus include these files _both_ in
"golang-1.6-std-pie" and "golang-1.6-go" -- I guess we need to fix
that by using "dh_exec" and passing through our GOOS and GOARCH values
instead of using globs?

- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4

More information about the Docker-maint mailing list